Main Menu

Search

Showing posts with label Linux Yum Commands. Show all posts
Showing posts with label Linux Yum Commands. Show all posts

LINUX: DNF Command Search & List All Versions Of A Particular Package That Are Available In Repository

DNF command to search and list all versions of a package which is available.

Below command can be used.


dnf --showduplicates list <package name>


For e.g. below command will list all the available olcne-agent* packages


dnf --showduplicates list olcne-agent*

Last metadata expiration check: 1:10:58 ago on Mon 06 Jan 2025 07:32:27 PM UTC.

Installed Packages

olcne-agent.x86_64                                  1.7.2-3.el8                                   @ol8_olcne17

Available Packages

olcne-agent.x86_64                                  1.7.0-8.el8                                   ol8_olcne17 

olcne-agent.x86_64                                  1.7.2-3.el8                                   ol8_olcne17 

olcne-agent.x86_64                                  1.7.3-1.el8                                   ol8_olcne17 

olcne-agent.x86_64                                  1.7.4-2.el8                                   ol8_olcne17 

olcne-agent.x86_64                                  1.7.5-17.el8                                  ol8_olcne17 

olcne-agent.x86_64                                  1.7.6-5.el8                                   ol8_olcne17 

olcne-agent.x86_64                                  1.7.7-2.el8                                   ol8_olcne17 

olcne-agent.x86_64                                  1.7.8-2.el8                                   ol8_olcne17

ORACLE LINUX: Yum / DNF Environment Variables File For Connecting To Public Yum Repository

"/etc/yum/vars" is the directory which has yum / dnf variables for connecting to Public Yum repository in Oracle Linux

We have following 2 files under "/etc/yum/vars" directory

  • ocidomain    - Has the domain name for public yum.
  • ociregion - Has public yum hostname. Usually blank.

In repo files under /etc/yum.repos.d directory you will have lines as follows to connect to public yum.

name=Oracle Linux 8 UEK6 RDMA ($basearch)
baseurl=https://yum$ociregion.oracle.com/uln/OracleLinux/OL8/UEKR6/RDMA/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=0



LINUX - YUM COMMAND TO LIST ALL THE PACKAGES (RPM's) AVAILABLE FOR DOWNLOAD

Following yum command can be used to list all the packages available for download.

yum list available 
 
This command can be run either on the yum mirror server which downloads the packages from ULN or on the client Linux hosts which connect to yum mirror server for package updates.  
 
 

Products to which Article Applies

All Linux OS’s

Search Keywords:  rpms rpm rpm’s downloading package

Article Author: Tarun Boyella

LINUX - YUM COMMAND TO INSTALL PARTICULAR PACKAGE AND ALL ITS DEPENDENCY PACKAGES

Below command can be used on a specific package to install that package and all the dependency packages

yum install <package-name>* 

For e.g. if you want to install syslinux package and all its dependency packages, following command can be used.
 
yum install syslinux* 
 
Below is the snippet 
 
[root@testVM tmp]# yum install syslinux* 
Loaded plugins: security 
Setting up Install Process 
Examining syslinux-4.04-3.el6.x86_64.rpm: syslinux-4.04-3.el6.x86_64 
Marking syslinux-4.04-3.el6.x86_64.rpm to be installed 
Examining syslinux-nonlinux-4.04-3.el6.noarch.rpm: syslinux-nonlinux-4.04-3.el6.noarch 
Marking syslinux-nonlinux-4.04-3.el6.noarch.rpm to be installed 
Resolving Dependencies 
--> Running transaction check 
---> Package syslinux.x86_64 0:4.04-3.el6 will be installed 
---> Package syslinux-nonlinux.noarch 0:4.04-3.el6 will be installed 
--> Finished Dependency Resolution 
 
Dependencies Resolved 
 
================================================================================ 
 Package           Arch   Version    Repository                            Size 
================================================================================ 
Installing: 
 syslinux          x86_64 4.04-3.el6 /syslinux-4.04-3.el6.x86_64          567 k 
 syslinux-nonlinux noarch 4.04-3.el6 /syslinux-nonlinux-4.04-3.el6.noarch 1.6 M 
 
Transaction Summary 
================================================================================ 
Install       2 Package(s) 
 
Total size: 2.2 M 
Installed size: 2.2 M 
Is this ok [y/N]: y 
Downloading Packages: 
Running rpm_check_debug 
Running Transaction Test 
Transaction Test Succeeded 
Running Transaction 
  Installing : syslinux-nonlinux-4.04-3.el6.noarch                          1/2 
  Installing : syslinux-4.04-3.el6.x86_64                                   2/2 
  Verifying  : syslinux-4.04-3.el6.x86_64                                   1/2 
  Verifying  : syslinux-nonlinux-4.04-3.el6.noarch                          2/2 
 
Installed: 
  syslinux.x86_64 0:4.04-3.el6       syslinux-nonlinux.noarch 0:4.04-3.el6 
 
Complete! 
 
 

Products to which Article Applies

All Linux OS’s

Search Keywords:  rpm rpms rpm’s dependencies package installation

Article Author: Tarun Boyella

LINUX - YUM COMMANDS TO LIST YUM REPOSITORIES (REPOLIST)

Following is Yum command to list all yum repo's 
 
yum repolist all 
 
Following is Yum command to list repolist from specific yum configuration file.
 
yum -c eecs_yum.conf repolist  
 
 

Products to which Article Applies

All Linux OS’s

Search Keywords:  repo repositories repository commands command yum.conf

Article Author: Tarun Boyella

LINUX - YUM COMMAND TO REGENERATE CACHE

Following yum command to regenerate cache.
 
yum makecache 
 
 

Products to which Article Applies

All Linux OS’s

Search Keywords:  generate cache temp how to how-to

Article Author: Tarun Boyella

LINUX - YUM COMMAND TO INSTALL PARTICULAR PACKAGE EXPLICITLY USING DOWNLOADED RPM FILE

Following yum install command can be used to install particular package explicitly using downloaded rpm file.
 
yum install --disablerepo=* --disableplugin=* ./<package-name>.rpm 

For e.g. if you want to install nss package, the command will look as follows:

yum install --disablerepo=* --disableplugin=* ./nss-3.21.3-2.0.1.el6_8.i686.rpm 
 
Following example snippet of above command.

---> Package nss.i686 0:3.21.3-2.0.1.el6_8 will be installed 
--> Processing Dependency: nss-softokn(x86-32) >= 3.14.3-22 for package: nss-3.21.3-2.0.1.el6_8.i686 
--> Processing Dependency: libnspr4.so for package: nss-3.21.3-2.0.1.el6_8.i686 
--> Processing Dependency: libnssdbm3.so for package: nss-3.21.3-2.0.1.el6_8.i686 
--> Processing Dependency: libnssutil3.so for package: nss-3.21.3-2.0.1.el6_8.i686 
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.12) for package: nss-3.21.3-2.0.1.el6_8.i686 
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.12.3) for package: nss-3.21.3-2.0.1.el6_8.i686 
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.12.5) for package: nss-3.21.3-2.0.1.el6_8.i686 
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.13) for package: nss-3.21.3-2.0.1.el6_8.i686 
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.14) for package: nss-3.21.3-2.0.1.el6_8.i686 
--> Processing Dependency: libnssutil3.so(NSSUTIL_3.15) for package: nss-3.21.3-2.0.1.el6_8.i6 
 

Alternatively following command can be used as well. 
 
yum localinstall <package-name>.rpm 
 
 

Products to which Article Applies

All Linux OS’s

Search Keywords:  installation rpm rpm’s rpms package packages local

Article Author: Tarun Boyella

LINUX - YUM COMMAND TO REMOVE A PACKAGE

Following is yum command to remove a package

yum remove <package name> 
 
 

Products to which Article Applies

All Linux OS’s

Search Keywords:  packages rpm’s rpm delete uninstall

Article Author: Tarun Boyella

LINUX - HOW TO MANUALLY REMOVE / DELETE YUM CACHE FOLDERS?

Following is Yum cache folder.
 
/var/cache/yum/ 
 
To clear the cache, Remove all content in above folder and then run following command
 
yum clean all
 
 

Products to which Article Applies

All Linux OS’s

Search Keywords:  delete remove cache temp

Article Author: Tarun Boyella

LINUX - YUM COMMAND TO CHECK YUM REPOSITORY FOR ERRORS ON ANY PACKAGES OR RPM's

Following yum check command can be used for any errors on packages or rpm's
 
yum check 

Below sample output which shows errors due to duplicate packages.
 
# yum check 
Loaded plugins: security, ulninfo 
openldap-2.4.40-12.el6.x86_64 is a duplicate with openldap-2.4.40-5.el6.x86_64 
Error: check all 

 
 

Products to which Article Applies

All Linux OS’s

Search Keywords:  rpm rpms package packages errors fail failure exception validate

Article Author: Tarun Boyella

LINUX - YUM COMMAND TO CHECK THE LIST OF RPMS / PACKAGES INSTALLED

Following is yum command to check list of packages installed.
 
yum list installed 
 
 

Products to which Article Applies

All Linux OS’s

Search Keywords:  yum package rpms rpm install

Article Author: Tarun Boyella

LINUX - YUM COMMAND TO SEARCH AND LIST PARTICULAR RPM PACKAGE

Following is yum command to use to search and list particular rpm package version.
 
yum -C --disablerepo=* --disableplugin=* list <packagename>* 

Following is example snippet of above command.
 
        [root@TEST]# yum -C --disablerepo=* --disableplugin=* list nss* 
        Installed Packages 
        nss.x86_64                                                      3.21.3-2.0.1.el6_8                                  @eecs_2062170117_updates 
        nss-devel.x86_64                                                3.21.3-2.0.1.el6_8                                  @eecs_2062170117_updates 
        nss-softokn.x86_64                                              3.14.3-23.3.el6_8                                   @eecs_2062170117_updates 
        nss-softokn-devel.x86_64                                        3.14.3-23.3.el6_8                                   @eecs_2062170117_updates 
        nss-softokn-freebl.i686                                         3.14.3-23.3.el6_8        
 
 

Products to which Article Applies

All Linux OS’s

Search Keywords:  rpm package list search version

Article Author: Tarun Boyella

LINUX - YUM COMMAND TO UPDATE AN RPM EXPLICITLY USING DOWNLOADED RPM FILE

Below is yum command to use to update an rpm explicitly using downloaded rpm file.
 
yum update --disablerepo=* --disableplugin=* ./<package-name>.rpm 

For e.g. if you want to update nss package using downloaded nss rpm file, your command will look as follows:

yum update --disablerepo=* --disableplugin=* ./nss-3.21.3-2.0.1.el6_8.i686.rpm 
 
 

Products to which Article Applies

All Linux OS’s

Search Keywords:  package installed version update upgrade latest

Article Author: Tarun Boyella

LINUX - YUM COMMANDS TO CLEAR / DELETE CACHE

  
Following yum commands can be used to clear / delete cache.
 
    yum clean all 
    yum clean packages 
    yum clean headers 
    yum clean metadata 
 
 

Products to which Article Applies

All Linux OS’s

Search Keywords:  yum delete clear cache temp 

Article Author: Tarun Boyella

LINUX: Yum Command To Reinstall Existing Package Again? (How To Doc)

Below is yum command to reinstall the existing package again.
yum reinstall <package name>

For example if you want to reinstall python package, you command looks like below.

yum reinstall python


Products to which Article Applies

All Linux Operating Systems using yum
Additional Reference
https://access.redhat.com/sites/default/files/attachments/rh_yum_cheatsheet_1214_jcs_print-1.pdf




ORACLE LINUX: How To Install Python on Oracle Linux Machine? (yum command)

Below command can be executed to install Python on Oracle Linux machines.
yum install python

Below is snippet seen on console as an example when yum command is executed for installing python.
==========================================================================================================================================================
 Package                              Arch                            Version                                   Repository                           Size
==========================================================================================================================================================
Updating:
 python                               x86_64                          2.7.5-86.0.1.el7                          ol7_latest                           95 k
Updating for dependencies:
 python-libs                          x86_64                          2.7.5-86.0.1.el7                          ol7_latest                          5.6 M

Transaction Summary
==========================================================================================================================================================
Upgrade  1 Package (+1 Dependent package)

Total download size: 5.7 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/2): python-2.7.5-86.0.1.el7.x86_64.rpm                                                                                          |  95 kB  00:00:00
(2/2): python-libs-2.7.5-86.0.1.el7.x86_64.rpm                                                                                     | 5.6 MB  00:00:06
----------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                     922 kB/s | 5.7 MB  00:00:06
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : python-libs-2.7.5-86.0.1.el7.x86_64                                                                                                    1/4
  Updating   : python-2.7.5-86.0.1.el7.x86_64                                                                                                         2/4
  Cleanup    : python-2.7.5-58.0.1.el7.x86_64                                                                                                         3/4
  Cleanup    : python-libs-2.7.5-58.0.1.el7.x86_64                                                                                                    4/4
  Verifying  : python-2.7.5-86.0.1.el7.x86_64                                                                                                         1/4
  Verifying  : python-libs-2.7.5-86.0.1.el7.x86_64                                                                                                    2/4
  Verifying  : python-libs-2.7.5-58.0.1.el7.x86_64                                                                                                    3/4
  Verifying  : python-2.7.5-58.0.1.el7.x86_64                                                                                                         4/4

Updated:
  python.x86_64 0:2.7.5-86.0.1.el7

Dependency Updated:
  python-libs.x86_64 0:2.7.5-86.0.1.el7

Complete!

Once python installation is completed, run below command to check the version of Python installed.

python -V


Products to which Article Applies

Steps in this Article for installing Python were tested on Oracle Linux. But the same steps should on other Linux Operating Systems as well using yum setup.

Additional Reference
https://yum.oracle.com/oracle-linux-python.html#InstallPython

Linux: How to Install Docker Engine on Linux Machine?

Below are steps to install Docker Engine on Linux machine either VM or Baremetal standalone Physical machine.

1. Enable OL7 addons using below command.
yum-config-manager --enable ol7_addons

Below is sample output.
=============================== repo: ol7_addons ===============================
[ol7_addons]
async = True
bandwidth = 0
base_persistdir = /var/lib/yum/repos/x86_64/7Server
baseurl = https://yum.oracle.com/repo/OracleLinux/OL7/addons/x86_64/
cache = 0
cachedir = /var/cache/yum/x86_64/7Server/ol7_addons
check_config_file_age = True
compare_providers_priority = 80
cost = 1000
deltarpm_metadata_percentage = 100
deltarpm_percentage =
enabled = 1
enablegroups = True
exclude =
failovermethod = priority
ftp_disable_epsv = False
gpgcadir = /var/lib/yum/repos/x86_64/7Server/ol7_addons/gpgcadir
gpgcakey =
gpgcheck = True
gpgdir = /var/lib/yum/repos/x86_64/7Server/ol7_addons/gpgdir
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
hdrdir = /var/cache/yum/x86_64/7Server/ol7_addons/headers
http_caching = none
includepkgs =
ip_resolve =
keepalive = True
keepcache = False
mddownloadpolicy = sqlite
mdpolicy = group:small
mediaid =
metadata_expire = 21600
metadata_expire_filter = read-only:present
metalink =
minrate = 0
mirrorlist =
mirrorlist_expire = 86400
name = Oracle Linux 7Server Add ons (x86_64)
old_base_cache_dir =
password =
persistdir = /var/lib/yum/repos/x86_64/7Server/ol7_addons
pkgdir = /var/cache/yum/x86_64/7Server/ol7_addons/packages
proxy = http://XX.XX.XX.XX:80
proxy_dict = {'ftp': 'http://XX.XX.XX.XX:80', 'http': 'http://XX.XX.XX.XX:80', 'https': 'http://XX.XX.XX.XX:80'}
proxy_password =
proxy_username =
repo_gpgcheck = False
retries = 10
skip_if_unavailable = False
ssl_check_cert_permissions = True
sslcacert =
sslclientcert =
sslclientkey =
sslverify = True
throttle = 0
timeout = 30.0
ui_id = ol7_addons/x86_64
ui_repoid_vars = releasever,
   basearch
username =



2. Install docker-engine using below command.
yum install docker-engine

Above command takes sometime to complete as it has to install all the necessary dependency packages and addons.

Below is snippet of above command. Please note the output you will see when installing the dockers will not be apples to apples match to below sample output. It varies depending on the docker version being installed, OS version, packages installed and other factors.
Loaded plugins: ulninfo
ol7_UEKR5                                                | 2.5 kB     00:00
ol7_addons                                               | 2.5 kB     00:00
ol7_latest                                               | 2.7 kB     00:00
(1/7): ol7_UEKR5/x86_64/updateinfo                         |  34 kB   00:00
(2/7): ol7_addons/x86_64/updateinfo                        |  64 kB   00:00
(3/7): ol7_addons/x86_64/primary_db                        | 131 kB   00:00
(4/7): ol7_latest/x86_64/group                             | 810 kB   00:01
(5/7): ol7_latest/x86_64/updateinfo                        | 918 kB   00:00
(6/7): ol7_UEKR5/x86_64/primary_db                         | 4.8 MB   00:05
(7/7): ol7_latest/x86_64/primary_db                        |  16 MB   00:15
Resolving Dependencies
--> Running transaction check
---> Package docker-engine.x86_64 0:18.09.1.ol-1.0.8.el7 will be installed
--> Processing Dependency: runc < 1.0.0-20 for package: docker-engine-18.09.1.ol-1.0.8.el7.x86_64
--> Processing Dependency: container-selinux >= 2:2.77 for package: docker-engine-18.09.1.ol-1.0.8.el7.x86_64
--> Processing Dependency: libcgroup for package: docker-engine-18.09.1.ol-1.0.8.el7.x86_64
--> Processing Dependency: containerd for package: docker-engine-18.09.1.ol-1.0.8.el7.x86_64
--> Processing Dependency: docker-cli for package: docker-engine-18.09.1.ol-1.0.8.el7.x86_64
--> Running transaction check
---> Package container-selinux.noarch 2:2.77-5.el7 will be installed
--> Processing Dependency: policycoreutils-python for package: 2:container-selinux-2.77-5.el7.noarch
---> Package containerd.x86_64 0:1.2.0-1.0.5.el7 will be installed
---> Package docker-cli.x86_64 0:18.09.1.ol-1.0.8.el7 will be installed
--> Processing Dependency: libltdl.so.7()(64bit) for package: docker-cli-18.09.1.ol-1.0.8.el7.x86_64
---> Package libcgroup.x86_64 0:0.41-20.el7 will be installed
---> Package runc.x86_64 0:1.0.0-19.rc5.git4bb1fe4.0.4.el7 will be installed
--> Processing Dependency: criu for package: runc-1.0.0-19.rc5.git4bb1fe4.0.4.el7.x86_64
--> Running transaction check
---> Package criu.x86_64 0:3.9-5.el7 will be installed
--> Processing Dependency: libprotobuf-c.so.1(LIBPROTOBUF_C_1.0.0)(64bit) for package: criu-3.9-5.el7.x86_64
--> Processing Dependency: libnl-3.so.200(libnl_3)(64bit) for package: criu-3.9-5.el7.x86_64
--> Processing Dependency: libprotobuf-c.so.1()(64bit) for package: criu-3.9-5.el7.x86_64
--> Processing Dependency: libnl-3.so.200()(64bit) for package: criu-3.9-5.el7.x86_64
--> Processing Dependency: libnet.so.1()(64bit) for package: criu-3.9-5.el7.x86_64
---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed
---> Package policycoreutils-python.x86_64 0:2.5-29.0.1.el7_6.1 will be installed
--> Processing Dependency: audit-libs-python >= 2.1.3-4 for package: policycoreutils-python-2.5-29.0.1.el7_6.1.x86_64
--> Processing Dependency: setools-libs >= 3.3.8-4 for package: policycoreutils-python-2.5-29.0.1.el7_6.1.x86_64
--> Processing Dependency: libsemanage-python >= 2.5-14 for package: policycoreutils-python-2.5-29.0.1.el7_6.1.x86_64
--> Processing Dependency: python-IPy for package: policycoreutils-python-2.5-29.0.1.el7_6.1.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: policycoreutils-python-2.5-29.0.1.el7_6.1.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.4)(64bit) for package: policycoreutils-python-2.5-29.0.1.el7_6.1.x86_64
--> Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: policycoreutils-python-2.5-29.0.1.el7_6.1.x86_64
--> Processing Dependency: libapol.so.4()(64bit) for package: policycoreutils-python-2.5-29.0.1.el7_6.1.x86_64
--> Processing Dependency: libqpol.so.1()(64bit) for package: policycoreutils-python-2.5-29.0.1.el7_6.1.x86_64
--> Running transaction check
---> Package audit-libs-python.x86_64 0:2.8.4-4.el7 will be installed
---> Package libnet.x86_64 0:1.1.6-7.el7 will be installed
---> Package libnl3.x86_64 0:3.2.28-4.el7 will be installed
---> Package libsemanage-python.x86_64 0:2.5-14.el7 will be installed
---> Package protobuf-c.x86_64 0:1.0.2-3.el7 will be installed
---> Package python-IPy.noarch 0:0.75-6.el7 will be installed
---> Package setools-libs.x86_64 0:3.3.8-4.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved


================================================================================

 Package                Arch   Version                         Repository  Size
================================================================================
Installing:
 docker-engine          x86_64 18.09.1.ol-1.0.8.el7            ol7_addons  19 M
Installing for dependencies:
 audit-libs-python      x86_64 2.8.4-4.el7                     ol7_latest  76 k
 container-selinux      noarch 2:2.77-5.el7                    ol7_addons  37 k
 containerd             x86_64 1.2.0-1.0.5.el7                 ol7_addons  21 M
 criu                   x86_64 3.9-5.el7                       ol7_latest 432 k
 docker-cli             x86_64 18.09.1.ol-1.0.8.el7            ol7_addons  14 M
 libcgroup              x86_64 0.41-20.el7                     ol7_latest  66 k
 libnet                 x86_64 1.1.6-7.el7                     ol7_latest  57 k
 libnl3                 x86_64 3.2.28-4.el7                    ol7_latest 277 k
 libsemanage-python     x86_64 2.5-14.el7                      ol7_latest 112 k
 libtool-ltdl           x86_64 2.4.2-22.el7_3                  ol7_latest  48 k
 policycoreutils-python x86_64 2.5-29.0.1.el7_6.1              ol7_latest 455 k
 protobuf-c             x86_64 1.0.2-3.el7                     ol7_latest  27 k
 python-IPy             noarch 0.75-6.el7                      ol7_latest  32 k
 runc                   x86_64 1.0.0-19.rc5.git4bb1fe4.0.4.el7 ol7_addons 1.9 M
 setools-libs           x86_64 3.3.8-4.el7                     ol7_latest 620 k

Transaction Summary

================================================================================
Install  1 Package (+15 Dependent packages)

Total download size: 58 M

Installed size: 253 M
Is this ok [y/d/N]: y
Downloading packages:
(1/16): container-selinux-2.77-5.el7.noarch.rpm            |  37 kB   00:24
(2/16): criu-3.9-5.el7.x86_64.rpm                          | 432 kB   00:25
(3/16): audit-libs-python-2.8.4-4.el7.x86_64.rpm           |  76 kB   00:25
(4/16): docker-cli-18.09.1.ol-1.0.8.el7.x86_64.rpm         |  14 MB   00:13
(5/16): containerd-1.2.0-1.0.5.el7.x86_64.rpm              |  21 MB   00:45
(6/16): libnet-1.1.6-7.el7.x86_64.rpm                      |  57 kB   00:15
(7/16): libcgroup-0.41-20.el7.x86_64.rpm                   |  66 kB   00:15
(8/16): libsemanage-python-2.5-14.el7.x86_64.rpm           | 112 kB   00:00
(9/16): libtool-ltdl-2.4.2-22.el7_3.x86_64.rpm             |  48 kB   00:00
(10/16): libnl3-3.2.28-4.el7.x86_64.rpm                    | 277 kB   00:00
(11/16): protobuf-c-1.0.2-3.el7.x86_64.rpm                 |  27 kB   00:00
(12/16): python-IPy-0.75-6.el7.noarch.rpm                  |  32 kB   00:00
(13/16): policycoreutils-python-2.5-29.0.1.el7_6.1.x86_64. | 455 kB   00:00
(14/16): setools-libs-3.3.8-4.el7.x86_64.rpm               | 620 kB   00:01
(15/16): docker-engine-18.09.1.ol-1.0.8.el7.x86_64.rpm     |  19 MB   00:18
(16/16): runc-1.0.0-19.rc5.git4bb1fe4.0.4.el7.x86_64.rpm   | 1.9 MB   00:15
--------------------------------------------------------------------------------
Total                                              817 kB/s |  58 MB  01:13
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : libcgroup-0.41-20.el7.x86_64                                1/16
  Installing : setools-libs-3.3.8-4.el7.x86_64                             2/16
  Installing : audit-libs-python-2.8.4-4.el7.x86_64                        3/16
  Installing : libnet-1.1.6-7.el7.x86_64                                   4/16
  Installing : protobuf-c-1.0.2-3.el7.x86_64                               5/16
  Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64                          6/16
  Installing : docker-cli-18.09.1.ol-1.0.8.el7.x86_64                      7/16
  Installing : python-IPy-0.75-6.el7.noarch                                8/16
  Installing : libnl3-3.2.28-4.el7.x86_64                                  9/16
  Installing : criu-3.9-5.el7.x86_64                                      10/16
  Installing : libsemanage-python-2.5-14.el7.x86_64                       11/16
  Installing : policycoreutils-python-2.5-29.0.1.el7_6.1.x86_64           12/16
  Installing : 2:container-selinux-2.77-5.el7.noarch                      13/16


3. Verify that the dockers is installed using below commands.
rpm -qa | grep -i docker

You should be seeing docker package installed.
docker help

Above docker help command should give the docker usage options.


Products to which Article Applies


Steps in this Article are tested on Oracle Linux Operating system. But yum steps should be similar for Redhat, Cent OS and other Linux Operating systems as well. 


All Host Operating Systems Using ILOM


Additional Reference