How Do You Quickly Install Several Python Packages Such as Pycrypto and Paramiko on RedHat Linux?

Problem scenario
How do you install pycrypto, paramiko and the several related packages without copying several individual packages on a RedHat Linux server?

It can be tedious getting the different dependencies of python packages installed.  By downloading various .tar.gz files, you have to unpack them, then run a series of "python ..." commands. While it is not advisable to install more packages than are strictly necessary, there are some benefits to doing it (e.g., having these features available to you).

Install pip, Ansible and other packages.  Run these commands as root:

yum -y update
yum -y install java gcc python-openssl openssl-devel openssl
curl "" -o ""
pip install ansible

Leave a comment

Your email address will not be published. Required fields are marked *