Friday, October 25, 2013

How to install Pip with Red Hat Cygwin

I am going to keep this short and sweet ... so if there are any questions, I will elaborate at a later time.  I am developing on a Microsoft Windows 7 Enterprise Service Pack 1 Dell Latitude E6430 laptop.
  1. Download rhsetup.exe from http://www.redhat.com/services/custom/cygwin.
  2. Run the rhsetup.exe file and make sure to check off All > Net > ca-certificates: CA root certificates, this package is not checked off by default.
    • All the rest of defaults may stay checked off, Red Hat did a good job of making the Cygwin installer as close as possible to a fully Red Hat Linux enviroment.
  3. If you have administrator rights on your machine, perform the following commmand: ln -sT /usr/ssl /etc/ssl (reference: http://stackoverflow.com/questions/9224298/how-do-i-fix-certificate-errors-when-running-wget-on-an-https-url-in-cygwin)
  4. After installation is complete, download https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py and run the ez_setup.py Python file by peforming the following command: python ez_setup.py.
  5. Once the setuptools file is downloaded, use the tar command to convert the archive to a group of files.
  6. Change directory into the setuptools directory and perform the following command: python easy_install.py pip.
  7. Voila, pip is now installed, enjoy.
I hope to update this tutorial to be a little more comprehensive, so my apologies in advance.