Install PIP for Python 3 in CentOS 8

PIP is a package manager used to install and manage software packages written in Python. CentOS repository allow both pip2 and pip3 for python 2 and python 3 respectively using dnf command. Python 3 is the most recent, stable, long-term supported version of Python. If you don’t specifically need Python 2 for compatibility with older applications use Python 3.

In this tutorial we will install PIP 3 for python 3.

Update your system repository using the following command:

dnf -y update
Install PIP for Python 3 in CentOS 8

Now we will Install Python 3.

dnf -y install python3
Install PIP for Python 3 in CentOS 8

Now install pip3.

dnf -y install python3-pip

Confirm installation if PIP.

pip3 –-version
Install PIP for Python 3 in CentOS 8

Now you can use PIP according to your need.

原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/309070.html

(0)
上一篇 2023年12月4日
下一篇 2023年12月4日

相关推荐

发表回复

登录后才能评论