How to install Pip on CentOS 7

 In Dedicated, VPS

1. Install Pip on CentOS 7

To install pip on your CentOS 7 server you need to have SSH access. Connect to your Linux server via SSH and install pip using the following command:

yum -y install python-pip


2. Verify Pip installation on CentOS 7

At this point you should have pip installed and ready to use on your CentOS 7. To verify that the installation was successful you can use the following command:

pip -V

The output should be similar to this one:

# pip -V
pip 9.0.1 from /usr/lib/python2.7/site-packages (python 2.7)

If you get output similar to the one above you are ready to use pip on your CentOS server.


3. How to use pip on CentOS 7

To search PyPI for specific package you can use the following command:

pip search package_name


4. Install package using pip on CentOS 7

Once you are ready to install specific package you can use the following command:

pip install package_name


5. Uninstall package using pip on CentOS 7

Similarly, if you want to uninstall a specific package you can use the following command:

pip uninstall package_name


6. List all available options you can use

pip has many other usage options. To list all options you can use pip –help

Recommended Posts

Start typing and press Enter to search