Using RHEL 6 how can you install MySql-Python package without a internet connection?

I can SCP files to the server but our current restrictions do not allow a direct or proxy connection to the internet from the RHEL server. It looks like it can be easily installed via YUM however YUM cannot update repositories without an internet connection.

1 Answer 1


If you have a similarly configured system I'd use yumdownloader. You can use it to download RPMs and their dependencies from yum repositories.

Something like this:

$ yumdownloader --resolve --destdir /tmp mysql-python

Once done downloading you can scp the *.rpm files to the other server.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .