How to install python pip on Ubuntu using apt command


Want to install Python pip on your Ubuntu system, follow the below easy steps,

  1. Open Ubuntu terminal,
  2. Type su root to switch to superuser (root),
  3. Now type atp-get install python3-pip
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
      binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-9
     dpkg-dev fakeroot g++ g++-9 gcc gcc-10-base gcc-9 gcc-9-base libalgorithm-diff-perl libalgorithm-diff-xs-perl
      libalgorithm-merge-perl libasan5 libatomic1 libbinutils libc-dev-bin libc6 libc6-dev
     libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl
     libgcc-9-dev
      libgcc-s1 libgomp1 libisl22 libitm1 liblsan0 libmpc3 libpython3-dev libpython3.8
     libpython3.8-dev libpython3.8-minimal libpython3.8-stdlib libquadmath0 libstdc++-9-dev libstdc++6 libtsan0
     libubsan1
      linux-libc-dev make manpages-dev python-pip-whl python3-dev python3-wheel python3.8
     python3.8-dev python3.8-minimal zlib1g zlib1g-dev
    Suggested packages:
      binutils-doc cpp-doc gcc-9-locales debian-keyring g++-multilib g++-9-multilib gcc-9-doc
     gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-9-multilib glibc-doc
     bzr libstdc++-9-doc make-doc
      python3.8-venv python3.8-doc binfmt-support
    The following NEW packages will be installed:
      binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-9 dpkg-dev fakeroot
     g++ g++-9 gcc gcc-9 gcc-9-base libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
     libasan5
      libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl
     libexpat1-dev libfakeroot libfile-fcntllock-perl libgcc-9-dev libgomp1 libisl22 libitm1 liblsan0 libmpc3
      libpython3-dev libpython3.8-dev libquadmath0 libstdc++-9-dev libtsan0 libubsan1 linux-libc-dev make
     manpages-dev python-pip-whl python3-dev python3-pip python3-wheel python3.8-dev zlib1g-dev
    The following packages will be upgraded:
      gcc-10-base libc6 libgcc-s1 libpython3.8 libpython3.8-minimal libpython3.8-stdlib libstdc++6
     python3.8 python3.8-minimal zlib1g
    10 upgraded, 50 newly installed, 0 to remove and 152 not upgraded.
    Need to get 56.4 MB of archives.
    After this operation, 201 MB of additional disk space will be used.
    Do you want to continue? [Y/n]  yes 
  4. Do you want to continue? [Y/n] y or yes

You can also search the apt cache to know pyton pip package,

$ apt-cache search python pip
pipenv - Python'sΒ officially recommended packaging tool
pipsi - pip script installer
pipsi - pip script installer
pipx - execute binaries from Python packages in isolated environments
python-django-pipeline-doc - Documentation for Django Pipeline library
python-django-pipeline-doc - Documentation for Django Pipeline library
python-pip-whl - Python package installer
python-ruffus-doc - documentation for python-ruffus computation pipeline library
python3-apipkg - namespace control and lazy-import mechanism for Python 3
python3-cpl - Control pipeline recipes from the ESO (Python3)
python3-django-pipeline - Asset packaging library for Django (Python3 version)
python3-pip - Python package installer
python3-pipdeptree - display dependency tree of the installed Python 3 packages
python3-ruffus - Python3 computation pipeline library widely used in bioinformatics
Install Python pip Package on Ubuntu
Install Python pip Package on Ubuntu
Copyright Β© Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap