Pip is a part of the python packages for CentOS 9. So the installation is pretty simple and straight forward. Let’s see how to install Pip on CentOS 9.
Prerequisites
- CentOS 9
- sudo privileges
- Python installed
Install Pip on CentOS 9
Step 1. Update the dnf
packages.
sudo dnf update
Step 2. Install Pip.
sudo dnf install python-pip
Step 3. If you need a specific version, for instance version 3, specify that in the same command.
sudo dnf install python3-pip
Step 4. Verify the installation.
pip3 -V
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.