Pip is python package manager .Python packages and libraries can be installed in different ways to the system. We can also use the distribution provided package manager to install Python libraries. Python packages can be get from pypi.python.org . How can we install pip in Debian, Ubuntu, Kali or similar dpkg, apt based distros.
Install Pip2 For Python2
We assume that distribution default Python version 2. This makes
python keyword by default Python2. So we can just use following command.
$ apt-get install python-pip
Install Pip3 For Python3
Pip3 is package manager for specifically Python3. So Python2 and Python3 package managers are different. How can we install Pip3 into ubuntu,debian,kali or related dpkg or apt distros like below.
$ apt install python3-pip