0

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.

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.