INSTALL PIP IN LINUX
Using yum we can install pip using python3-pip
First search for the pip package
[root@orcl19x oracle]# yum search python3-pip
Loaded plugins: langpacks, ulninfo
======================================= N/S matched: python3-pip ========================================
python3-pip.noarch : A tool for installing and managing Python3 packages
Name and summary matches only, use "search all" for everything.
Install python3-pip using yum install python3-pip -y
[root@orcl19x oracle]# yum install python3-pip
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed
--> Processing Dependency: python(abi) = 3.6 for package: python3-pip-9.0.3-8.el7.noarch
--> Processing Dependency: python3-setuptools for package: python3-pip-9.0.3-8.el7.noarch
--> Processing Dependency: /usr/bin/python3 for package: python3-pip-9.0.3-8.el7.noarch
--> Running transaction check
---> Package python3.x86_64 0:3.6.8-18.0.3.el7 will be installed
--> Processing Dependency: python3-libs(x86-64) = 3.6.8-18.0.3.el7 for package: python3-3.6.8-18.0.3.el7.x86_64
--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-18.0.3.el7.x86_64
---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed
--> Running transaction check
---> Package python3-libs.x86_64 0:3.6.8-18.0.3.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================
Package Arch Version Repository Size
=========================================================================================================
Installing:
python3-pip noarch 9.0.3-8.el7 ol7_latest 1.6 M
Installing for dependencies:
python3 x86_64 3.6.8-18.0.3.el7 ol7_latest 70 k
python3-libs x86_64 3.6.8-18.0.3.el7 ol7_latest 6.9 M
python3-setuptools noarch 39.2.0-10.el7 ol7_latest 628 k
Transaction Summary
=========================================================================================================
Install 1 Package (+3 Dependent packages)
Total download size: 9.3 M
Installed size: 47 M
Is this ok [y/d/N]: y
Downloading packages:
(1/4): python3-3.6.8-18.0.3.el7.x86_64.rpm | 70 kB 00:00:00
(2/4): python3-pip-9.0.3-8.el7.noarch.rpm | 1.6 MB 00:00:00
(3/4): python3-setuptools-39.2.0-10.el7.noarch.rpm | 628 kB 00:00:02
(4/4): python3-libs-3.6.8-18.0.3.el7.x86_64.rpm | 6.9 MB 00:00:03
---------------------------------------------------------------------------------------------------------
Total 2.5 MB/s | 9.3 MB 00:00:03
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : python3-setuptools-39.2.0-10.el7.noarch 1/4
Installing : python3-pip-9.0.3-8.el7.noarch 2/4
Installing : python3-3.6.8-18.0.3.el7.x86_64 3/4
Installing : python3-libs-3.6.8-18.0.3.el7.x86_64 4/4
Verifying : python3-libs-3.6.8-18.0.3.el7.x86_64 1/4
Verifying : python3-3.6.8-18.0.3.el7.x86_64 2/4
Verifying : python3-setuptools-39.2.0-10.el7.noarch 3/4
Verifying : python3-pip-9.0.3-8.el7.noarch 4/4
Installed:
python3-pip.noarch 0:9.0.3-8.el7
Dependency Installed:
python3.x86_64 0:3.6.8-18.0.3.el7 python3-libs.x86_64 0:3.6.8-18.0.3.el7
python3-setuptools.noarch 0:39.2.0-10.el7
Complete!