How to Install Pip on Debian 10

Install Pip on Debian 10

In this article, we will have explained the necessary steps to install and configure Pip on Debian 10. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.

Pip is a package management system that allows you to install Python packages. With pip, you can install packages from the Python Package Index (PyPI) and other repositories.

Install Pip on Debian

Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.

Step 2. Install PIP on Debian 10.

The installation is pretty straightforward, just run the following commands as user with sudo privileges:

  • Install PIP for Python 3.

Install pip for Python 3 and all of its dependencies by typing:

Verify the installation by printing the pip version:

  • Install PIP for Python 2.

Install pip for Python 2 and all of its dependencies:

Check version and confirm installation by entering following:

Step 3. Basic usage of PIP.

  • Basic usage of PIP for python 3

To list all the commands in PIP enter following

Get information of specific command enter following

To search package with PIP enter following

Install package with PIP enter following in terminal

To install package from requirements file

Upgrade package with PIP

Uninstall package with PIP

  • Basic usage of PIP for python 2

To list all the commands in PIP enter following

Get information of specific command enter following

To search package with PIP enter following

Install package with PIP enter following in terminal

To install package from requirements file

Upgrade package with PIP

Uninstall package with PIP

Congratulation, you have learned how to install and configure Pip on Debian 10 Buster. If you have any question, please leave a comment below.