How To Install python-pip-whl on Ubuntu 20.04

In this tutorial we learn how to install python-pip-whl on Ubuntu 20.04. python-pip-whl is Python package installer Python package installer Python package installer

Introduction

In this tutorial we learn how to install python-pip-whl on Ubuntu 20.04.

What is python-pip-whl

python-pip-whl is:

pip is the Python package installer. It integrates with virtualenv, doesn’t do partial installs, can save package state for replaying, can install from non-egg sources, and can install from version control repositories.

This is the support package for the PEP 427 wheel version of the package, required for using pip inside a virtual environment.

Package: python-pip-whl Architecture: all Version: 20.0.2-5ubuntu1.5 Built-Using: appdirs (= 1.4.3-2.1), chardet (= 3.0.4-4build1), contextlib2 (= 0.6.0-2), distlib (= 0.3.0-1), html5lib (= 1.0.1-2), pep517 (= 0.8.2-1), pyparsing (= 2.4.6-1), python-cachecontrol (= 0.12.6-1ubuntu2), python-certifi (= 2019.11.28-1), python-colorama (= 0.4.3-1build1), python-distro (= 1.4.0-1), python-idna (= 2.8-1), python-ipaddr (= 2.2.0-4), python-lockfile (= 1:0.12.2-2ubuntu2), python-msgpack (= 0.6.2-1), python-packaging (= 20.3-1), python-progress (= 1.5-1), python-retrying (= 1.3.3-4), python-toml (= 0.10.0-3), python-urllib3 (= 1.25.8-2ubuntu0.1), python-webencodings (= 0.5.1-1ubuntu1), requests (= 2.22.0-2ubuntu1), setuptools (= 45.2.0-1), six (= 1.14.0-2), wheel (= 0.34.2-1) Multi-Arch: foreign Priority: optional Section: universe/python Source: python-pip Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Python Modules Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 2257 Depends: ca-certificates Breaks: python3-virtualenv (« 20.0.17-1ubuntu0.3) Filename: pool/universe/p/python-pip/python-pip-whl_20.0.2-5ubuntu1.5_all.deb Size: 1805236 MD5sum: 37fd013a10e2c1d9aa812571c8514683 SHA1: ebbeaf695d5a6cd5c5849f2e399c21c3d5d176cd SHA256: 2b4ce102c4582472cab83a99e421cfd319c5b15b7f2e19401f9f5d498548c2c2 SHA512: a8f9217052be744ba84572540f3d2b2bf91a2ec9cd89ed9e8c342d8cc54446ddac90c15d5c6730db592e620a66b32e4b31d5d67dcbc7afdf73aed909e1b8e3a9 Homepage: https://pip.pypa.io/en/stable/ Description-en: Python package installer pip is the Python package installer. It integrates with virtualenv, doesn’t do partial installs, can save package state for replaying, can install from non-egg sources, and can install from version control repositories.

This is the support package for the PEP 427 wheel version of the package, required for using pip inside a virtual environment.

Package: python-pip-whl Architecture: all Version: 20.0.2-5ubuntu1 Built-Using: appdirs (= 1.4.3-2.1), chardet (= 3.0.4-4build1), contextlib2 (= 0.6.0-2), distlib (= 0.3.0-1), html5lib (= 1.0.1-2), pep517 (= 0.8.2-1), pyparsing (= 2.4.6-1), python-cachecontrol (= 0.12.6-1ubuntu2), python-certifi (= 2019.11.28-1), python-colorama (= 0.4.3-1build1), python-distro (= 1.4.0-1), python-idna (= 2.8-1), python-ipaddr (= 2.2.0-4), python-lockfile (= 1:0.12.2-2ubuntu2), python-msgpack (= 0.6.2-1), python-packaging (= 20.3-1), python-progress (= 1.5-1), python-retrying (= 1.3.3-4), python-urllib3 (= 1.25.8-1), python-webencodings (= 0.5.1-1ubuntu1), pytoml (= 0.1.21-1), requests (= 2.22.0-2build1), setuptools (= 45.2.0-1), six (= 1.14.0-2), wheel (= 0.34.2-1) Multi-Arch: foreign Priority: optional Section: universe/python Source: python-pip Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian Python Modules Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 2250 Depends: ca-certificates Filename: pool/universe/p/python-pip/python-pip-whl_20.0.2-5ubuntu1_all.deb Size: 1798932 MD5sum: 1ac59d404b3b97dd4ac924f7bc13c834 SHA1: 4b8808b96d7b1d8457be450b0578ba3147be12c0 SHA256: c45c5bab6f92bfd31778ad057ca5d1551a1440e3fbbfdd6247a2120114065f86 Homepage: https://pip.pypa.io/en/stable/ Description-en: Python package installer pip is the Python package installer. It integrates with virtualenv, doesn’t do partial installs, can save package state for replaying, can install from non-egg sources, and can install from version control repositories.

This is the support package for the PEP 427 wheel version of the package, required for using pip inside a virtual environment.

There are three methods to install python-pip-whl on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python-pip-whl Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install python-pip-whl using apt-get by running the following command:

sudo apt-get -y install python-pip-whl

Install python-pip-whl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-pip-whl using apt by running the following command:

sudo apt -y install python-pip-whl

Install python-pip-whl Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python-pip-whl using aptitude by running the following command:

sudo aptitude -y install python-pip-whl

How To Uninstall python-pip-whl on Ubuntu 20.04

To uninstall only the python-pip-whl package we can use the following command:

sudo apt-get remove python-pip-whl

Uninstall python-pip-whl And Its Dependencies

To uninstall python-pip-whl and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove python-pip-whl

Remove python-pip-whl Configurations and Data

To remove python-pip-whl configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge python-pip-whl

Remove python-pip-whl configuration, data, and all of its dependencies

We can use the following command to remove python-pip-whl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-pip-whl

References

Summary

In this tutorial we learn how to install python-pip-whl package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.