In this tutorial you will learn how to install PIP(Pip Installs Packages). A tool for installing and managing python packages on Linux.
sudo yum upgrade python-setuptools sudo yum install python-pip python-wheel
sudo yum install python3 python3-wheel
On CentOS 7 you have to install setuptools package first then PIP
sudo yum install python-setuptools sudo yum install python-pip
sudo yum install python34-setuptools sudo easy_install pip
sudo zypper install python-pip python-setuptools python-wheel
sudo zypper install python3-pip python3-setuptools python3-wheel
sudo apt install python-pip
sudo apt install python3-venv python3-pip
sudo pacman -S python2-pip
sudo pacman -S python-pip
Now that PIP is installed on your system, make sure that everything is up to date and running correctly.
All you have to do is run the following command
The above command will give you an output like this
That means PIP is up to date and running correctly
Installing and Uninstalling packages with PIP it’s relatively easy, all you have to do is call pip and the command you want to execute from terminal.
pip install PackageName #the command to install an software pip uninstall PackageName #the command to uninstall an software
pip install PackageName==1.0.2 #The command to Install a Specific Version of the Software pip install 'PackageName>=1.0.2' #The command to Install the Minimum Version of the Software
To get the full list of PIP commands you need run the following command
In this tutorial you learned how to manage python packages on Linux with ease with PIP.