in

LinuxLinux

How to Install PIP for Python 2, Python 3 on Debian 10?

Fast & best ways to install pip on Debian 10 Desktop or server.

Install PIP on Debian 10

I

nstall PIP on Debian 10: PIP is a kind of package manager allows you install the packages of python. The PIP allows you install the packages from Python Package index and other repositories. In this article, we explained the information about installing PIP on Debian 10 version.

Jump To:

Installing PIP for Python 2:

Follow the below instruction to install the PIP for Python 2 on Debian 10 system.

$sudo apt update

The above command will update the packages to the current system.

$sudo apt install python-pip

The above command will help you install the pip package installer for python 2 on Debian 10.

Once the installation process got finished, you can check the version of pip using the below command.

$pip --version

The output of the above command is,

[email protected]:~$ pip --version
pip 18.1 from /usr/lib/python2.7/dist-packages/pip (python 2.7)
[email protected]:~$ 

Installing PIP for Python 3:

Here we are going to see the detail about installing PIP for python 3 on Debian 10. Follow the below instructions below:

$sudo apt update

The above command will update the packages of the current system.

$sudo apt install python3-pip

The above command will help you install the pip package installer for python 3 on Debian 10.

Once the installation process got finished, you can check the version of pip using the below command.

$pip --version

The output of the above command is,

[email protected]:~$ pip --version
pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7)
[email protected]:~$ 

Uninstalling PIP Packages:

You can uninstall the PIP packages using the following command,

$pip uninstall pip_package_name

Replace the “pip_package_name” with the package name that you want to uninstall.

Check this too  fping- Best Ping tool for Linux & its Installation on Ubuntu

Searching PIP Packages:

You can find the pip packages using the searching option, use the following command:

$pip search "search_package_name"

Listing PIP Packages:

You can list the pip packages using the listing option, use the following command:

$pip list

Listing Outdated Packages:

You can list the outdated pip packages using the following command,

$pip list --outdated

Verdict:

That’s it. This is the easiest way to install the PIP for Python 2 and Python 3 on Debian 10 desktop and server. If you have any queries related to this topic and then feel free to comment us below.

Article Review
  • Article Explanation
  • Commands Provided
  • PIP manages Commands
4.9

Summary

For more articles, Kindly visit our HomePage

Leave a Reply

Your email address will not be published. Required fields are marked *

Written by Jim Moriarty

Hello, Am Jim from Arizona, Big Fan of Holmes. Server-side handler, Network Engineer & currently working for Tec Robust. I write a server-based article.

Contact me:
tecrobust [@] gmail.com
Sub: Message to Jim.

Find IP Address in Linux

How to Find IP Address in Linux?

Fix: PIP Command Not Found Error

Bash:~ PIP Command Not Found in Linux! [Easy Fix]