Thursday, September 4, 2025
HomeLanguagesHow to install PIP in Linux?

How to install PIP in Linux?

Prerequisite: Python Language Introduction
 
Before we start with how to install pip for Python on Linux, let’s first go through the basic introduction to Python. Python is a widely-used general-purpose, high-level programming language. Python is a programming language that lets you work quickly and integrate systems more efficiently.

PIP is a package management system used to install and manage software packages/libraries written in Python. These files are stored in a large “on-line repository” termed as Python Package Index (PyPI).

pip uses PyPI as the default source for packages and their dependencies. So whenever you type:

pip install package_name

pip will look for that package on PyPI and if found, it will download and install the package on your local system.

Download and Install pip:

pip can be downloaded and installed using the terminal in Linux by going through the following command:

sudo apt-get install python3-pip python-dev

Beginning the installation:

  • Getting Started:
    pip-installation-command
  • Providing Disk Space:
    Providing-addition-disk-space
  • Downloading Libraries:
    Downloading Libraries
  • Unpacking File bundles:
    Unpacking-installation-files
  • Finishing up the Installation:
    Finishing-the-installation

Verification of the Installation process:

One can easily verify if the pip has been installed correctly by performing a version check on the same. Just go to the command-line and execute the following command:

pip3 --version

pip-Version-check-linux

RELATED ARTICLES

Most Popular

Dominic
32264 POSTS0 COMMENTS
Milvus
81 POSTS0 COMMENTS
Nango Kala
6632 POSTS0 COMMENTS
Nicole Veronica
11800 POSTS0 COMMENTS
Nokonwaba Nkukhwana
11860 POSTS0 COMMENTS
Shaida Kate Naidoo
6749 POSTS0 COMMENTS
Ted Musemwa
7025 POSTS0 COMMENTS
Thapelo Manthata
6698 POSTS0 COMMENTS
Umr Jansen
6718 POSTS0 COMMENTS