Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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