{"id":2097,"date":"2020-01-25T01:05:17","date_gmt":"2020-01-25T01:05:17","guid":{"rendered":"https:\/\/lamp.ciscoar.com\/?page_id=2097"},"modified":"2020-02-18T14:05:40","modified_gmt":"2020-02-18T14:05:40","slug":"updating-your-centos-with-yum","status":"publish","type":"page","link":"https:\/\/lamp.ciscoar.com\/?page_id=2097","title":{"rendered":"Updating Your CentOS with yum"},"content":{"rendered":"\n\n\n<h2 class=\"wp-block-heading\">Updating CentOS 7 with yum<\/h2>\n\n\n\n<p>Keeping our system up to date with the latest versions of the OS and its patches as well as the installed applications is considered a good and healthy practice, those of you who comes from MS Windows are for sure familiar with &#8220;<strong>Windows Update<\/strong>&#8220;, well in the Linux world we have to do this manually, but fortunately we can lean on &#8220;<strong>yum<\/strong>&#8220;.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/windows-update-vs-linux-update.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"957\" height=\"694\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/windows-update-vs-linux-update.jpg\" alt=\"\" class=\"wp-image-2145\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/windows-update-vs-linux-update.jpg 957w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/windows-update-vs-linux-update-300x218.jpg 300w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/windows-update-vs-linux-update-768x557.jpg 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><figcaption>Windows update vs CentOS Linux update<\/figcaption><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/CentOS-7-yum-update.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"488\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/CentOS-7-yum-update.jpg\" alt=\"\" class=\"wp-image-2135\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/CentOS-7-yum-update.jpg 800w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/CentOS-7-yum-update-300x183.jpg 300w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/CentOS-7-yum-update-768x468.jpg 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><figcaption>Updating CentOS 7 with yum<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">How to update Centos 7<\/h2>\n\n\n\n<p>To perform a full system update including OS and patches, and bring them to the latest versions available, you can use the following command:<\/p>\n\n\n<p class=\"fonts-plugin-block \" style=\"font-family: calibri;font-weight: 700;font-size: 20px;color: #9b51e0\">yum -y update<\/p>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>The &#8220;\u2013y&#8221; tells the system to say \u201cyes\u201d to any prompts that may ask for approval<\/p><\/blockquote>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"488\" style=\"aspect-ratio: 800 \/ 488;\" width=\"800\" controls src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/CentOS-7-yum-update.mp4\"><\/video><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Update completed list<\/h2>\n\n\n\n<p>Do you think would be useful to know what was updated? The only way I found was to log the output and include it below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash line-numbers\">[root@centos7 ~]# yum -y update\nLoaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.ufam.edu.br\n * extras: mirror.ufscar.br\n * updates: mirror.ufscar.br\nResolving Dependencies\n--> Running transaction check\n---> Package NetworkManager.x86_64 1:1.18.0-5.el7 will be updated\n---> Package NetworkManager.x86_64 1:1.18.0-5.el7_7.1 will be an update\n---> Package NetworkManager-libnm.x86_64 1:1.18.0-5.el7 will be updated\n---> Package NetworkManager-libnm.x86_64 1:1.18.0-5.el7_7.1 will be an update\n---> Package NetworkManager-team.x86_64 1:1.18.0-5.el7 will be updated\n---> Package NetworkManager-team.x86_64 1:1.18.0-5.el7_7.1 will be an update\n---> Package NetworkManager-tui.x86_64 1:1.18.0-5.el7 will be updated\n---> Package NetworkManager-tui.x86_64 1:1.18.0-5.el7_7.1 will be an update\n---> Package NetworkManager-wifi.x86_64 1:1.18.0-5.el7 will be updated\n---> Package NetworkManager-wifi.x86_64 1:1.18.0-5.el7_7.1 will be an update\n---> Package binutils.x86_64 0:2.27-41.base.el7 will be updated\n---> Package binutils.x86_64 0:2.27-41.base.el7_7.1 will be an update\n---> Package ca-certificates.noarch 0:2018.2.22-70.0.el7_5 will be updated\n---> Package ca-certificates.noarch 0:2019.2.32-76.el7_7 will be an update\n---> Package curl.x86_64 0:7.29.0-54.el7 will be updated\n---> Package curl.x86_64 0:7.29.0-54.el7_7.1 will be an update\n---> Package device-mapper.x86_64 7:1.02.158-2.el7 will be updated\n---> Package device-mapper.x86_64 7:1.02.158-2.el7_7.2 will be an update\n---> Package device-mapper-event.x86_64 7:1.02.158-2.el7 will be updated\n---> Package device-mapper-event.x86_64 7:1.02.158-2.el7_7.2 will be an update\n---> Package device-mapper-event-libs.x86_64 7:1.02.158-2.el7 will be updated\n---> Package device-mapper-event-libs.x86_64 7:1.02.158-2.el7_7.2 will be an update\n---> Package device-mapper-libs.x86_64 7:1.02.158-2.el7 will be updated\n---> Package device-mapper-libs.x86_64 7:1.02.158-2.el7_7.2 will be an update\n---> Package firewalld.noarch 0:0.6.3-2.el7 will be updated\n---> Package firewalld.noarch 0:0.6.3-2.el7_7.2 will be an update\n---> Package firewalld-filesystem.noarch 0:0.6.3-2.el7 will be updated\n---> Package firewalld-filesystem.noarch 0:0.6.3-2.el7_7.2 will be an update\n---> Package hostname.x86_64 0:3.13-3.el7 will be updated\n---> Package hostname.x86_64 0:3.13-3.el7_7.1 will be an update\n---> Package iproute.x86_64 0:4.11.0-25.el7 will be updated\n---> Package iproute.x86_64 0:4.11.0-25.el7_7.2 will be an update\n---> Package kernel.x86_64 0:3.10.0-1062.9.1.el7 will be installed\n---> Package kernel-tools.x86_64 0:3.10.0-1062.el7 will be updated\n---> Package kernel-tools.x86_64 0:3.10.0-1062.9.1.el7 will be an update\n---> Package kernel-tools-libs.x86_64 0:3.10.0-1062.el7 will be updated\n---> Package kernel-tools-libs.x86_64 0:3.10.0-1062.9.1.el7 will be an update\n---> Package krb5-libs.x86_64 0:1.15.1-37.el7_6 will be updated\n---> Package krb5-libs.x86_64 0:1.15.1-37.el7_7.2 will be an update\n---> Package libblkid.x86_64 0:2.23.2-61.el7 will be updated\n---> Package libblkid.x86_64 0:2.23.2-61.el7_7.1 will be an update\n---> Package libcurl.x86_64 0:7.29.0-54.el7 will be updated\n---> Package libcurl.x86_64 0:7.29.0-54.el7_7.1 will be an update\n---> Package libmount.x86_64 0:2.23.2-61.el7 will be updated\n---> Package libmount.x86_64 0:2.23.2-61.el7_7.1 will be an update\n---> Package libsmartcols.x86_64 0:2.23.2-61.el7 will be updated\n---> Package libsmartcols.x86_64 0:2.23.2-61.el7_7.1 will be an update\n---> Package libuuid.x86_64 0:2.23.2-61.el7 will be updated\n---> Package libuuid.x86_64 0:2.23.2-61.el7_7.1 will be an update\n---> Package lvm2.x86_64 7:2.02.185-2.el7 will be updated\n---> Package lvm2.x86_64 7:2.02.185-2.el7_7.2 will be an update\n---> Package lvm2-libs.x86_64 7:2.02.185-2.el7 will be updated\n---> Package lvm2-libs.x86_64 7:2.02.185-2.el7_7.2 will be an update\n---> Package microcode_ctl.x86_64 2:2.1-53.el7 will be updated\n---> Package microcode_ctl.x86_64 2:2.1-53.7.el7_7 will be an update\n---> Package nss.x86_64 0:3.44.0-4.el7 will be updated\n---> Package nss.x86_64 0:3.44.0-7.el7_7 will be an update\n---> Package nss-softokn.x86_64 0:3.44.0-5.el7 will be updated\n---> Package nss-softokn.x86_64 0:3.44.0-8.el7_7 will be an update\n---> Package nss-softokn-freebl.x86_64 0:3.44.0-5.el7 will be updated\n---> Package nss-softokn-freebl.x86_64 0:3.44.0-8.el7_7 will be an update\n---> Package nss-sysinit.x86_64 0:3.44.0-4.el7 will be updated\n---> Package nss-sysinit.x86_64 0:3.44.0-7.el7_7 will be an update\n---> Package nss-tools.x86_64 0:3.44.0-4.el7 will be updated\n---> Package nss-tools.x86_64 0:3.44.0-7.el7_7 will be an update\n---> Package nss-util.x86_64 0:3.44.0-3.el7 will be updated\n---> Package nss-util.x86_64 0:3.44.0-4.el7_7 will be an update\n---> Package numactl-libs.x86_64 0:2.0.12-3.el7 will be updated\n---> Package numactl-libs.x86_64 0:2.0.12-3.el7_7.1 will be an update\n---> Package polkit.x86_64 0:0.112-22.el7 will be updated\n---> Package polkit.x86_64 0:0.112-22.el7_7.1 will be an update\n---> Package procps-ng.x86_64 0:3.3.10-26.el7 will be updated\n---> Package procps-ng.x86_64 0:3.3.10-26.el7_7.1 will be an update\n---> Package python-firewall.noarch 0:0.6.3-2.el7 will be updated\n---> Package python-firewall.noarch 0:0.6.3-2.el7_7.2 will be an update\n---> Package python-perf.x86_64 0:3.10.0-1062.el7 will be updated\n---> Package python-perf.x86_64 0:3.10.0-1062.9.1.el7 will be an update\n---> Package rsyslog.x86_64 0:8.24.0-38.el7 will be updated\n---> Package rsyslog.x86_64 0:8.24.0-41.el7_7.2 will be an update\n---> Package selinux-policy.noarch 0:3.13.1-252.el7 will be updated\n---> Package selinux-policy.noarch 0:3.13.1-252.el7_7.6 will be an update\n---> Package selinux-policy-targeted.noarch 0:3.13.1-252.el7 will be updated\n---> Package selinux-policy-targeted.noarch 0:3.13.1-252.el7_7.6 will be an update\n---> Package sudo.x86_64 0:1.8.23-4.el7 will be updated\n---> Package sudo.x86_64 0:1.8.23-4.el7_7.1 will be an update\n---> Package systemd.x86_64 0:219-67.el7 will be updated\n---> Package systemd.x86_64 0:219-67.el7_7.2 will be an update\n---> Package systemd-libs.x86_64 0:219-67.el7 will be updated\n---> Package systemd-libs.x86_64 0:219-67.el7_7.2 will be an update\n---> Package systemd-sysv.x86_64 0:219-67.el7 will be updated\n---> Package systemd-sysv.x86_64 0:219-67.el7_7.2 will be an update\n---> Package tuned.noarch 0:2.11.0-5.el7 will be updated\n---> Package tuned.noarch 0:2.11.0-5.el7_7.1 will be an update\n---> Package tzdata.noarch 0:2019b-1.el7 will be updated\n---> Package tzdata.noarch 0:2019c-1.el7 will be an update\n---> Package util-linux.x86_64 0:2.23.2-61.el7 will be updated\n---> Package util-linux.x86_64 0:2.23.2-61.el7_7.1 will be an update\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n======================================================================================================\n Package                          Arch           Version                        Repository       Size\n======================================================================================================\nInstalling:\n kernel                           x86_64         3.10.0-1062.9.1.el7            updates          50 M\nUpdating:\n NetworkManager                   x86_64         1:1.18.0-5.el7_7.1             updates         1.9 M\n NetworkManager-libnm             x86_64         1:1.18.0-5.el7_7.1             updates         1.7 M\n NetworkManager-team              x86_64         1:1.18.0-5.el7_7.1             updates         163 k\n NetworkManager-tui               x86_64         1:1.18.0-5.el7_7.1             updates         326 k\n NetworkManager-wifi              x86_64         1:1.18.0-5.el7_7.1             updates         200 k\n binutils                         x86_64         2.27-41.base.el7_7.1           updates         5.9 M\n ca-certificates                  noarch         2019.2.32-76.el7_7             updates         399 k\n curl                             x86_64         7.29.0-54.el7_7.1              updates         270 k\n device-mapper                    x86_64         7:1.02.158-2.el7_7.2           updates         294 k\n device-mapper-event              x86_64         7:1.02.158-2.el7_7.2           updates         190 k\n device-mapper-event-libs         x86_64         7:1.02.158-2.el7_7.2           updates         189 k\n device-mapper-libs               x86_64         7:1.02.158-2.el7_7.2           updates         322 k\n firewalld                        noarch         0.6.3-2.el7_7.2                updates         441 k\n firewalld-filesystem             noarch         0.6.3-2.el7_7.2                updates          50 k\n hostname                         x86_64         3.13-3.el7_7.1                 updates          17 k\n iproute                          x86_64         4.11.0-25.el7_7.2              updates         803 k\n kernel-tools                     x86_64         3.10.0-1062.9.1.el7            updates         7.8 M\n kernel-tools-libs                x86_64         3.10.0-1062.9.1.el7            updates         7.8 M\n krb5-libs                        x86_64         1.15.1-37.el7_7.2              updates         805 k\n libblkid                         x86_64         2.23.2-61.el7_7.1              updates         181 k\n libcurl                          x86_64         7.29.0-54.el7_7.1              updates         223 k\n libmount                         x86_64         2.23.2-61.el7_7.1              updates         183 k\n libsmartcols                     x86_64         2.23.2-61.el7_7.1              updates         141 k\n libuuid                          x86_64         2.23.2-61.el7_7.1              updates          83 k\n lvm2                             x86_64         7:2.02.185-2.el7_7.2           updates         1.3 M\n lvm2-libs                        x86_64         7:2.02.185-2.el7_7.2           updates         1.1 M\n microcode_ctl                    x86_64         2:2.1-53.7.el7_7               updates         2.5 M\n nss                              x86_64         3.44.0-7.el7_7                 updates         854 k\n nss-softokn                      x86_64         3.44.0-8.el7_7                 updates         330 k\n nss-softokn-freebl               x86_64         3.44.0-8.el7_7                 updates         224 k\n nss-sysinit                      x86_64         3.44.0-7.el7_7                 updates          65 k\n nss-tools                        x86_64         3.44.0-7.el7_7                 updates         528 k\n nss-util                         x86_64         3.44.0-4.el7_7                 updates          79 k\n numactl-libs                     x86_64         2.0.12-3.el7_7.1               updates          30 k\n polkit                           x86_64         0.112-22.el7_7.1               updates         170 k\n procps-ng                        x86_64         3.3.10-26.el7_7.1              updates         291 k\n python-firewall                  noarch         0.6.3-2.el7_7.2                updates         352 k\n python-perf                      x86_64         3.10.0-1062.9.1.el7            updates         7.8 M\n rsyslog                          x86_64         8.24.0-41.el7_7.2              updates         616 k\n selinux-policy                   noarch         3.13.1-252.el7_7.6             updates         492 k\n selinux-policy-targeted          noarch         3.13.1-252.el7_7.6             updates         7.0 M\n sudo                             x86_64         1.8.23-4.el7_7.1               updates         841 k\n systemd                          x86_64         219-67.el7_7.2                 updates         5.1 M\n systemd-libs                     x86_64         219-67.el7_7.2                 updates         411 k\n systemd-sysv                     x86_64         219-67.el7_7.2                 updates          88 k\n tuned                            noarch         2.11.0-5.el7_7.1               updates         268 k\n tzdata                           noarch         2019c-1.el7                    updates         493 k\n util-linux                       x86_64         2.23.2-61.el7_7.1              updates         2.0 M\n\nTransaction Summary\n======================================================================================================\nInstall   1 Package\nUpgrade  48 Packages\n\nTotal download size: 113 M\nDownloading packages:\nDelta RPMs disabled because \/usr\/bin\/applydeltarpm not installed.\nwarning: \/var\/cache\/yum\/x86_64\/7\/updates\/packages\/NetworkManager-1.18.0-5.el7_7.1.x86_64.rpm: Header V3 RSA\/SHA256 Signature, key ID f4a80eb5: NOKEY\nPublic key for NetworkManager-1.18.0-5.el7_7.1.x86_64.rpm is not installed\n(1\/49): NetworkManager-1.18.0-5.el7_7.1.x86_64.rpm                             | 1.9 MB  00:00:16     \n(2\/49): NetworkManager-team-1.18.0-5.el7_7.1.x86_64.rpm                        | 163 kB  00:00:00     \n(3\/49): NetworkManager-tui-1.18.0-5.el7_7.1.x86_64.rpm                         | 326 kB  00:00:00     \n(4\/49): NetworkManager-wifi-1.18.0-5.el7_7.1.x86_64.rpm                        | 200 kB  00:00:00     \n(5\/49): NetworkManager-libnm-1.18.0-5.el7_7.1.x86_64.rpm                       | 1.7 MB  00:00:16     \n(6\/49): ca-certificates-2019.2.32-76.el7_7.noarch.rpm                          | 399 kB  00:00:00     \n(7\/49): curl-7.29.0-54.el7_7.1.x86_64.rpm                                      | 270 kB  00:00:00     \n(8\/49): device-mapper-1.02.158-2.el7_7.2.x86_64.rpm                            | 294 kB  00:00:00     \n(9\/49): device-mapper-event-1.02.158-2.el7_7.2.x86_64.rpm                      | 190 kB  00:00:00     \n(10\/49): device-mapper-event-libs-1.02.158-2.el7_7.2.x86_64.rpm                | 189 kB  00:00:00     \n(11\/49): device-mapper-libs-1.02.158-2.el7_7.2.x86_64.rpm                      | 322 kB  00:00:00     \n(12\/49): binutils-2.27-41.base.el7_7.1.x86_64.rpm                              | 5.9 MB  00:00:01     \n(13\/49): firewalld-0.6.3-2.el7_7.2.noarch.rpm                                  | 441 kB  00:00:00     \n(14\/49): hostname-3.13-3.el7_7.1.x86_64.rpm                                    |  17 kB  00:00:00     \n(15\/49): firewalld-filesystem-0.6.3-2.el7_7.2.noarch.rpm                       |  50 kB  00:00:00     \n(16\/49): iproute-4.11.0-25.el7_7.2.x86_64.rpm                                  | 803 kB  00:00:00     \n(17\/49): kernel-tools-3.10.0-1062.9.1.el7.x86_64.rpm                           | 7.8 MB  00:00:01     \n(18\/49): kernel-tools-libs-3.10.0-1062.9.1.el7.x86_64.rpm                      | 7.8 MB  00:00:01     \n(19\/49): krb5-libs-1.15.1-37.el7_7.2.x86_64.rpm                                | 805 kB  00:00:00     \n(20\/49): libblkid-2.23.2-61.el7_7.1.x86_64.rpm                                 | 181 kB  00:00:00     \n(21\/49): libcurl-7.29.0-54.el7_7.1.x86_64.rpm                                  | 223 kB  00:00:00     \n(22\/49): libmount-2.23.2-61.el7_7.1.x86_64.rpm                                 | 183 kB  00:00:00     \n(23\/49): libsmartcols-2.23.2-61.el7_7.1.x86_64.rpm                             | 141 kB  00:00:00     \n(24\/49): libuuid-2.23.2-61.el7_7.1.x86_64.rpm                                  |  83 kB  00:00:00     \n(25\/49): lvm2-2.02.185-2.el7_7.2.x86_64.rpm                                    | 1.3 MB  00:00:00     \n(26\/49): lvm2-libs-2.02.185-2.el7_7.2.x86_64.rpm                               | 1.1 MB  00:00:00     \n(27\/49): microcode_ctl-2.1-53.7.el7_7.x86_64.rpm                               | 2.5 MB  00:00:00     \n(28\/49): nss-3.44.0-7.el7_7.x86_64.rpm                                         | 854 kB  00:00:00     \n(29\/49): nss-softokn-3.44.0-8.el7_7.x86_64.rpm                                 | 330 kB  00:00:00     \n(30\/49): nss-softokn-freebl-3.44.0-8.el7_7.x86_64.rpm                          | 224 kB  00:00:00     \n(31\/49): nss-sysinit-3.44.0-7.el7_7.x86_64.rpm                                 |  65 kB  00:00:00     \n(32\/49): nss-tools-3.44.0-7.el7_7.x86_64.rpm                                   | 528 kB  00:00:00     \n(33\/49): nss-util-3.44.0-4.el7_7.x86_64.rpm                                    |  79 kB  00:00:00     \n(34\/49): numactl-libs-2.0.12-3.el7_7.1.x86_64.rpm                              |  30 kB  00:00:00     \n(35\/49): polkit-0.112-22.el7_7.1.x86_64.rpm                                    | 170 kB  00:00:00     \n(36\/49): procps-ng-3.3.10-26.el7_7.1.x86_64.rpm                                | 291 kB  00:00:00     \n(37\/49): python-firewall-0.6.3-2.el7_7.2.noarch.rpm                            | 352 kB  00:00:00     \n(38\/49): python-perf-3.10.0-1062.9.1.el7.x86_64.rpm                            | 7.8 MB  00:00:01     \n(39\/49): rsyslog-8.24.0-41.el7_7.2.x86_64.rpm                                  | 616 kB  00:00:00     \n(40\/49): selinux-policy-3.13.1-252.el7_7.6.noarch.rpm                          | 492 kB  00:00:00     \n(41\/49): selinux-policy-targeted-3.13.1-252.el7_7.6.noarch.rpm                 | 7.0 MB  00:00:01     \n(42\/49): sudo-1.8.23-4.el7_7.1.x86_64.rpm                                      | 841 kB  00:00:00     \n(43\/49): kernel-3.10.0-1062.9.1.el7.x86_64.rpm                                 |  50 MB  00:00:12     \n(44\/49): systemd-219-67.el7_7.2.x86_64.rpm                                     | 5.1 MB  00:00:01     \n(45\/49): systemd-sysv-219-67.el7_7.2.x86_64.rpm                                |  88 kB  00:00:00     \n(46\/49): tuned-2.11.0-5.el7_7.1.noarch.rpm                                     | 268 kB  00:00:00     \n(47\/49): systemd-libs-219-67.el7_7.2.x86_64.rpm                                | 411 kB  00:00:00     \n(48\/49): tzdata-2019c-1.el7.noarch.rpm                                         | 493 kB  00:00:00     \n(49\/49): util-linux-2.23.2-61.el7_7.1.x86_64.rpm                               | 2.0 MB  00:00:00     \n------------------------------------------------------------------------------------------------------\nTotal                                                                 3.7 MB\/s | 113 MB  00:00:30     \nRetrieving key from file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-CentOS-7\nImporting GPG key 0xF4A80EB5:\n Userid     : \"CentOS-7 Key (CentOS 7 Official Signing Key) &lt;security@centos.org>\"\n Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5\n Package    : centos-release-7-7.1908.0.el7.centos.x86_64 (@anaconda)\n From       : \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-CentOS-7\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n  Updating   : systemd-libs-219-67.el7_7.2.x86_64                                                1\/97 \n  Updating   : nss-util-3.44.0-4.el7_7.x86_64                                                    2\/97 \n  Updating   : libuuid-2.23.2-61.el7_7.1.x86_64                                                  3\/97 \n  Updating   : libblkid-2.23.2-61.el7_7.1.x86_64                                                 4\/97 \n  Updating   : libmount-2.23.2-61.el7_7.1.x86_64                                                 5\/97 \n  Updating   : nss-softokn-freebl-3.44.0-8.el7_7.x86_64                                          6\/97 \n  Updating   : nss-softokn-3.44.0-8.el7_7.x86_64                                                 7\/97 \n  Updating   : nss-sysinit-3.44.0-7.el7_7.x86_64                                                 8\/97 \n  Updating   : nss-3.44.0-7.el7_7.x86_64                                                         9\/97 \n  Updating   : 1:NetworkManager-libnm-1.18.0-5.el7_7.1.x86_64                                   10\/97 \n  Updating   : python-firewall-0.6.3-2.el7_7.2.noarch                                           11\/97 \n  Updating   : libsmartcols-2.23.2-61.el7_7.1.x86_64                                            12\/97 \n  Updating   : util-linux-2.23.2-61.el7_7.1.x86_64                                              13\/97 \n  Updating   : krb5-libs-1.15.1-37.el7_7.2.x86_64                                               14\/97 \n  Updating   : libcurl-7.29.0-54.el7_7.1.x86_64                                                 15\/97 \n  Updating   : systemd-219-67.el7_7.2.x86_64                                                    16\/97 \n  Updating   : 7:device-mapper-libs-1.02.158-2.el7_7.2.x86_64                                   17\/97 \n  Updating   : 7:device-mapper-1.02.158-2.el7_7.2.x86_64                                        18\/97 \n  Updating   : 7:device-mapper-event-libs-1.02.158-2.el7_7.2.x86_64                             19\/97 \n  Updating   : polkit-0.112-22.el7_7.1.x86_64                                                   20\/97 \n  Updating   : 1:NetworkManager-1.18.0-5.el7_7.1.x86_64                                         21\/97 \n  Updating   : 7:device-mapper-event-1.02.158-2.el7_7.2.x86_64                                  22\/97 \n  Updating   : 7:lvm2-libs-2.02.185-2.el7_7.2.x86_64                                            23\/97 \n  Updating   : selinux-policy-3.13.1-252.el7_7.6.noarch                                         24\/97 \n  Updating   : kernel-tools-libs-3.10.0-1062.9.1.el7.x86_64                                     25\/97 \n  Updating   : python-perf-3.10.0-1062.9.1.el7.x86_64                                           26\/97 \n  Updating   : firewalld-filesystem-0.6.3-2.el7_7.2.noarch                                      27\/97 \n  Updating   : firewalld-0.6.3-2.el7_7.2.noarch                                                 28\/97 \n  Updating   : tuned-2.11.0-5.el7_7.1.noarch                                                    29\/97 \n  Updating   : kernel-tools-3.10.0-1062.9.1.el7.x86_64                                          30\/97 \n  Updating   : selinux-policy-targeted-3.13.1-252.el7_7.6.noarch                                31\/97 \n  Updating   : 7:lvm2-2.02.185-2.el7_7.2.x86_64                                                 32\/97 \n  Updating   : 1:NetworkManager-tui-1.18.0-5.el7_7.1.x86_64                                     33\/97 \n  Updating   : 1:NetworkManager-team-1.18.0-5.el7_7.1.x86_64                                    34\/97 \n  Updating   : 1:NetworkManager-wifi-1.18.0-5.el7_7.1.x86_64                                    35\/97 \n  Updating   : rsyslog-8.24.0-41.el7_7.2.x86_64                                                 36\/97 \n  Updating   : systemd-sysv-219-67.el7_7.2.x86_64                                               37\/97 \n  Updating   : 2:microcode_ctl-2.1-53.7.el7_7.x86_64                                            38\/97 \n  Updating   : curl-7.29.0-54.el7_7.1.x86_64                                                    39\/97 \n  Updating   : nss-tools-3.44.0-7.el7_7.x86_64                                                  40\/97 \n  Updating   : procps-ng-3.3.10-26.el7_7.1.x86_64                                               41\/97 \n  Installing : kernel-3.10.0-1062.9.1.el7.x86_64                                                42\/97 \n  Updating   : binutils-2.27-41.base.el7_7.1.x86_64                                             43\/97 \n  Updating   : hostname-3.13-3.el7_7.1.x86_64                                                   44\/97 \n  Updating   : numactl-libs-2.0.12-3.el7_7.1.x86_64                                             45\/97 \n  Updating   : iproute-4.11.0-25.el7_7.2.x86_64                                                 46\/97 \n  Updating   : ca-certificates-2019.2.32-76.el7_7.noarch                                        47\/97 \n  Updating   : sudo-1.8.23-4.el7_7.1.x86_64                                                     48\/97 \n  Updating   : tzdata-2019c-1.el7.noarch                                                        49\/97 \n  Cleanup    : tuned-2.11.0-5.el7.noarch                                                        50\/97 \n  Cleanup    : firewalld-0.6.3-2.el7.noarch                                                     51\/97 \n  Cleanup    : 2:microcode_ctl-2.1-53.el7.x86_64                                                52\/97 \n  Cleanup    : selinux-policy-targeted-3.13.1-252.el7.noarch                                    53\/97 \n  Cleanup    : systemd-sysv-219-67.el7.x86_64                                                   54\/97 \n  Cleanup    : selinux-policy-3.13.1-252.el7.noarch                                             55\/97 \n  Cleanup    : firewalld-filesystem-0.6.3-2.el7.noarch                                          56\/97 \n  Cleanup    : python-firewall-0.6.3-2.el7.noarch                                               57\/97 \n  Cleanup    : ca-certificates-2018.2.22-70.0.el7_5.noarch                                      58\/97 \n  Cleanup    : tzdata-2019b-1.el7.noarch                                                        59\/97 \n  Cleanup    : 7:lvm2-2.02.185-2.el7.x86_64                                                     60\/97 \n  Cleanup    : 1:NetworkManager-tui-1.18.0-5.el7.x86_64                                         61\/97 \n  Cleanup    : 7:lvm2-libs-2.02.185-2.el7.x86_64                                                62\/97 \n  Cleanup    : nss-tools-3.44.0-4.el7.x86_64                                                    63\/97 \n  Cleanup    : 7:device-mapper-event-1.02.158-2.el7.x86_64                                      64\/97 \n  Cleanup    : curl-7.29.0-54.el7.x86_64                                                        65\/97 \n  Cleanup    : rsyslog-8.24.0-38.el7.x86_64                                                     66\/97 \n  Cleanup    : 7:device-mapper-event-libs-1.02.158-2.el7.x86_64                                 67\/97 \n  Cleanup    : 7:device-mapper-1.02.158-2.el7.x86_64                                            68\/97 \n  Cleanup    : 7:device-mapper-libs-1.02.158-2.el7.x86_64                                       69\/97 \n  Cleanup    : util-linux-2.23.2-61.el7.x86_64                                                  70\/97 \n  Cleanup    : procps-ng-3.3.10-26.el7.x86_64                                                   71\/97 \n  Cleanup    : 1:NetworkManager-wifi-1.18.0-5.el7.x86_64                                        72\/97 \n  Cleanup    : 1:NetworkManager-team-1.18.0-5.el7.x86_64                                        73\/97 \n  Cleanup    : 1:NetworkManager-1.18.0-5.el7.x86_64                                             74\/97 \n  Cleanup    : 1:NetworkManager-libnm-1.18.0-5.el7.x86_64                                       75\/97 \n  Cleanup    : polkit-0.112-22.el7.x86_64                                                       76\/97 \n  Cleanup    : systemd-219-67.el7.x86_64                                                        77\/97 \n  Cleanup    : libcurl-7.29.0-54.el7.x86_64                                                     78\/97 \n  Cleanup    : nss-sysinit-3.44.0-4.el7.x86_64                                                  79\/97 \n  Cleanup    : nss-3.44.0-4.el7.x86_64                                                          80\/97 \n  Cleanup    : nss-softokn-3.44.0-5.el7.x86_64                                                  81\/97 \n  Cleanup    : libmount-2.23.2-61.el7.x86_64                                                    82\/97 \n  Cleanup    : libblkid-2.23.2-61.el7.x86_64                                                    83\/97 \n  Cleanup    : nss-softokn-freebl-3.44.0-5.el7.x86_64                                           84\/97 \n  Cleanup    : kernel-tools-3.10.0-1062.el7.x86_64                                              85\/97 \n  Cleanup    : kernel-tools-libs-3.10.0-1062.el7.x86_64                                         86\/97 \n  Cleanup    : nss-util-3.44.0-3.el7.x86_64                                                     87\/97 \n  Cleanup    : libuuid-2.23.2-61.el7.x86_64                                                     88\/97 \n  Cleanup    : krb5-libs-1.15.1-37.el7_6.x86_64                                                 89\/97 \n  Cleanup    : systemd-libs-219-67.el7.x86_64                                                   90\/97 \n  Cleanup    : libsmartcols-2.23.2-61.el7.x86_64                                                91\/97 \n  Cleanup    : python-perf-3.10.0-1062.el7.x86_64                                               92\/97 \n  Cleanup    : binutils-2.27-41.base.el7.x86_64                                                 93\/97 \n  Cleanup    : hostname-3.13-3.el7.x86_64                                                       94\/97 \n  Cleanup    : numactl-libs-2.0.12-3.el7.x86_64                                                 95\/97 \n  Cleanup    : iproute-4.11.0-25.el7.x86_64                                                     96\/97 \n  Cleanup    : sudo-1.8.23-4.el7.x86_64                                                         97\/97 \n  Verifying  : tzdata-2019c-1.el7.noarch                                                         1\/97 \n  Verifying  : sudo-1.8.23-4.el7_7.1.x86_64                                                      2\/97 \n  Verifying  : nss-3.44.0-7.el7_7.x86_64                                                         3\/97 \n  Verifying  : systemd-219-67.el7_7.2.x86_64                                                     4\/97 \n  Verifying  : rsyslog-8.24.0-41.el7_7.2.x86_64                                                  5\/97 \n  Verifying  : ca-certificates-2019.2.32-76.el7_7.noarch                                         6\/97 \n  Verifying  : tuned-2.11.0-5.el7_7.1.noarch                                                     7\/97 \n  Verifying  : systemd-sysv-219-67.el7_7.2.x86_64                                                8\/97 \n  Verifying  : util-linux-2.23.2-61.el7_7.1.x86_64                                               9\/97 \n  Verifying  : nss-tools-3.44.0-7.el7_7.x86_64                                                  10\/97 \n  Verifying  : iproute-4.11.0-25.el7_7.2.x86_64                                                 11\/97 \n  Verifying  : libcurl-7.29.0-54.el7_7.1.x86_64                                                 12\/97 \n  Verifying  : firewalld-filesystem-0.6.3-2.el7_7.2.noarch                                      13\/97 \n  Verifying  : 7:device-mapper-event-1.02.158-2.el7_7.2.x86_64                                  14\/97 \n  Verifying  : libuuid-2.23.2-61.el7_7.1.x86_64                                                 15\/97 \n  Verifying  : nss-sysinit-3.44.0-7.el7_7.x86_64                                                16\/97 \n  Verifying  : numactl-libs-2.0.12-3.el7_7.1.x86_64                                             17\/97 \n  Verifying  : kernel-tools-3.10.0-1062.9.1.el7.x86_64                                          18\/97 \n  Verifying  : nss-softokn-freebl-3.44.0-8.el7_7.x86_64                                         19\/97 \n  Verifying  : 1:NetworkManager-tui-1.18.0-5.el7_7.1.x86_64                                     20\/97 \n  Verifying  : 1:NetworkManager-team-1.18.0-5.el7_7.1.x86_64                                    21\/97 \n  Verifying  : systemd-libs-219-67.el7_7.2.x86_64                                               22\/97 \n  Verifying  : python-perf-3.10.0-1062.9.1.el7.x86_64                                           23\/97 \n  Verifying  : hostname-3.13-3.el7_7.1.x86_64                                                   24\/97 \n  Verifying  : binutils-2.27-41.base.el7_7.1.x86_64                                             25\/97 \n  Verifying  : selinux-policy-targeted-3.13.1-252.el7_7.6.noarch                                26\/97 \n  Verifying  : firewalld-0.6.3-2.el7_7.2.noarch                                                 27\/97 \n  Verifying  : 2:microcode_ctl-2.1-53.7.el7_7.x86_64                                            28\/97 \n  Verifying  : libblkid-2.23.2-61.el7_7.1.x86_64                                                29\/97 \n  Verifying  : 7:device-mapper-1.02.158-2.el7_7.2.x86_64                                        30\/97 \n  Verifying  : polkit-0.112-22.el7_7.1.x86_64                                                   31\/97 \n  Verifying  : kernel-3.10.0-1062.9.1.el7.x86_64                                                32\/97 \n  Verifying  : 1:NetworkManager-libnm-1.18.0-5.el7_7.1.x86_64                                   33\/97 \n  Verifying  : kernel-tools-libs-3.10.0-1062.9.1.el7.x86_64                                     34\/97 \n  Verifying  : selinux-policy-3.13.1-252.el7_7.6.noarch                                         35\/97 \n  Verifying  : 1:NetworkManager-wifi-1.18.0-5.el7_7.1.x86_64                                    36\/97 \n  Verifying  : 7:device-mapper-event-libs-1.02.158-2.el7_7.2.x86_64                             37\/97 \n  Verifying  : procps-ng-3.3.10-26.el7_7.1.x86_64                                               38\/97 \n  Verifying  : 7:lvm2-libs-2.02.185-2.el7_7.2.x86_64                                            39\/97 \n  Verifying  : krb5-libs-1.15.1-37.el7_7.2.x86_64                                               40\/97 \n  Verifying  : libmount-2.23.2-61.el7_7.1.x86_64                                                41\/97 \n  Verifying  : 7:device-mapper-libs-1.02.158-2.el7_7.2.x86_64                                   42\/97 \n  Verifying  : 1:NetworkManager-1.18.0-5.el7_7.1.x86_64                                         43\/97 \n  Verifying  : curl-7.29.0-54.el7_7.1.x86_64                                                    44\/97 \n  Verifying  : nss-softokn-3.44.0-8.el7_7.x86_64                                                45\/97 \n  Verifying  : libsmartcols-2.23.2-61.el7_7.1.x86_64                                            46\/97 \n  Verifying  : python-firewall-0.6.3-2.el7_7.2.noarch                                           47\/97 \n  Verifying  : 7:lvm2-2.02.185-2.el7_7.2.x86_64                                                 48\/97 \n  Verifying  : nss-util-3.44.0-4.el7_7.x86_64                                                   49\/97 \n  Verifying  : rsyslog-8.24.0-38.el7.x86_64                                                     50\/97 \n  Verifying  : 1:NetworkManager-wifi-1.18.0-5.el7.x86_64                                        51\/97 \n  Verifying  : selinux-policy-targeted-3.13.1-252.el7.noarch                                    52\/97 \n  Verifying  : procps-ng-3.3.10-26.el7.x86_64                                                   53\/97 \n  Verifying  : 7:lvm2-2.02.185-2.el7.x86_64                                                     54\/97 \n  Verifying  : polkit-0.112-22.el7.x86_64                                                       55\/97 \n  Verifying  : python-perf-3.10.0-1062.el7.x86_64                                               56\/97 \n  Verifying  : 7:device-mapper-1.02.158-2.el7.x86_64                                            57\/97 \n  Verifying  : firewalld-filesystem-0.6.3-2.el7.noarch                                          58\/97 \n  Verifying  : kernel-tools-libs-3.10.0-1062.el7.x86_64                                         59\/97 \n  Verifying  : util-linux-2.23.2-61.el7.x86_64                                                  60\/97 \n  Verifying  : 1:NetworkManager-libnm-1.18.0-5.el7.x86_64                                       61\/97 \n  Verifying  : nss-util-3.44.0-3.el7.x86_64                                                     62\/97 \n  Verifying  : systemd-219-67.el7.x86_64                                                        63\/97 \n  Verifying  : tuned-2.11.0-5.el7.noarch                                                        64\/97 \n  Verifying  : krb5-libs-1.15.1-37.el7_6.x86_64                                                 65\/97 \n  Verifying  : libmount-2.23.2-61.el7.x86_64                                                    66\/97 \n  Verifying  : nss-sysinit-3.44.0-4.el7.x86_64                                                  67\/97 \n  Verifying  : 1:NetworkManager-1.18.0-5.el7.x86_64                                             68\/97 \n  Verifying  : iproute-4.11.0-25.el7.x86_64                                                     69\/97 \n  Verifying  : ca-certificates-2018.2.22-70.0.el7_5.noarch                                      70\/97 \n  Verifying  : nss-3.44.0-4.el7.x86_64                                                          71\/97 \n  Verifying  : numactl-libs-2.0.12-3.el7.x86_64                                                 72\/97 \n  Verifying  : nss-softokn-3.44.0-5.el7.x86_64                                                  73\/97 \n  Verifying  : nss-tools-3.44.0-4.el7.x86_64                                                    74\/97 \n  Verifying  : 7:device-mapper-event-1.02.158-2.el7.x86_64                                      75\/97 \n  Verifying  : nss-softokn-freebl-3.44.0-5.el7.x86_64                                           76\/97 \n  Verifying  : firewalld-0.6.3-2.el7.noarch                                                     77\/97 \n  Verifying  : python-firewall-0.6.3-2.el7.noarch                                               78\/97 \n  Verifying  : libblkid-2.23.2-61.el7.x86_64                                                    79\/97 \n  Verifying  : sudo-1.8.23-4.el7.x86_64                                                         80\/97 \n  Verifying  : 7:lvm2-libs-2.02.185-2.el7.x86_64                                                81\/97 \n  Verifying  : hostname-3.13-3.el7.x86_64                                                       82\/97 \n  Verifying  : 1:NetworkManager-tui-1.18.0-5.el7.x86_64                                         83\/97 \n  Verifying  : 7:device-mapper-event-libs-1.02.158-2.el7.x86_64                                 84\/97 \n  Verifying  : binutils-2.27-41.base.el7.x86_64                                                 85\/97 \n  Verifying  : 2:microcode_ctl-2.1-53.el7.x86_64                                                86\/97 \n  Verifying  : 1:NetworkManager-team-1.18.0-5.el7.x86_64                                        87\/97 \n  Verifying  : selinux-policy-3.13.1-252.el7.noarch                                             88\/97 \n  Verifying  : systemd-sysv-219-67.el7.x86_64                                                   89\/97 \n  Verifying  : libuuid-2.23.2-61.el7.x86_64                                                     90\/97 \n  Verifying  : 7:device-mapper-libs-1.02.158-2.el7.x86_64                                       91\/97 \n  Verifying  : libcurl-7.29.0-54.el7.x86_64                                                     92\/97 \n  Verifying  : libsmartcols-2.23.2-61.el7.x86_64                                                93\/97 \n  Verifying  : curl-7.29.0-54.el7.x86_64                                                        94\/97 \n  Verifying  : systemd-libs-219-67.el7.x86_64                                                   95\/97 \n  Verifying  : tzdata-2019b-1.el7.noarch                                                        96\/97 \n  Verifying  : kernel-tools-3.10.0-1062.el7.x86_64                                              97\/97 \n\nInstalled:\n  kernel.x86_64 0:3.10.0-1062.9.1.el7                                                                 \n\nUpdated:\n  NetworkManager.x86_64 1:1.18.0-5.el7_7.1                                                            \n  NetworkManager-libnm.x86_64 1:1.18.0-5.el7_7.1                                                      \n  NetworkManager-team.x86_64 1:1.18.0-5.el7_7.1                                                       \n  NetworkManager-tui.x86_64 1:1.18.0-5.el7_7.1                                                        \n  NetworkManager-wifi.x86_64 1:1.18.0-5.el7_7.1                                                       \n  binutils.x86_64 0:2.27-41.base.el7_7.1                                                              \n  ca-certificates.noarch 0:2019.2.32-76.el7_7                                                         \n  curl.x86_64 0:7.29.0-54.el7_7.1                                                                     \n  device-mapper.x86_64 7:1.02.158-2.el7_7.2                                                           \n  device-mapper-event.x86_64 7:1.02.158-2.el7_7.2                                                     \n  device-mapper-event-libs.x86_64 7:1.02.158-2.el7_7.2                                                \n  device-mapper-libs.x86_64 7:1.02.158-2.el7_7.2                                                      \n  firewalld.noarch 0:0.6.3-2.el7_7.2                                                                  \n  firewalld-filesystem.noarch 0:0.6.3-2.el7_7.2                                                       \n  hostname.x86_64 0:3.13-3.el7_7.1                                                                    \n  iproute.x86_64 0:4.11.0-25.el7_7.2                                                                  \n  kernel-tools.x86_64 0:3.10.0-1062.9.1.el7                                                           \n  kernel-tools-libs.x86_64 0:3.10.0-1062.9.1.el7                                                      \n  krb5-libs.x86_64 0:1.15.1-37.el7_7.2                                                                \n  libblkid.x86_64 0:2.23.2-61.el7_7.1                                                                 \n  libcurl.x86_64 0:7.29.0-54.el7_7.1                                                                  \n  libmount.x86_64 0:2.23.2-61.el7_7.1                                                                 \n  libsmartcols.x86_64 0:2.23.2-61.el7_7.1                                                             \n  libuuid.x86_64 0:2.23.2-61.el7_7.1                                                                  \n  lvm2.x86_64 7:2.02.185-2.el7_7.2                                                                    \n  lvm2-libs.x86_64 7:2.02.185-2.el7_7.2                                                               \n  microcode_ctl.x86_64 2:2.1-53.7.el7_7                                                               \n  nss.x86_64 0:3.44.0-7.el7_7                                                                         \n  nss-softokn.x86_64 0:3.44.0-8.el7_7                                                                 \n  nss-softokn-freebl.x86_64 0:3.44.0-8.el7_7                                                          \n  nss-sysinit.x86_64 0:3.44.0-7.el7_7                                                                 \n  nss-tools.x86_64 0:3.44.0-7.el7_7                                                                   \n  nss-util.x86_64 0:3.44.0-4.el7_7                                                                    \n  numactl-libs.x86_64 0:2.0.12-3.el7_7.1                                                              \n  polkit.x86_64 0:0.112-22.el7_7.1                                                                    \n  procps-ng.x86_64 0:3.3.10-26.el7_7.1                                                                \n  python-firewall.noarch 0:0.6.3-2.el7_7.2                                                            \n  python-perf.x86_64 0:3.10.0-1062.9.1.el7                                                            \n  rsyslog.x86_64 0:8.24.0-41.el7_7.2                                                                  \n  selinux-policy.noarch 0:3.13.1-252.el7_7.6                                                          \n  selinux-policy-targeted.noarch 0:3.13.1-252.el7_7.6                                                 \n  sudo.x86_64 0:1.8.23-4.el7_7.1                                                                      \n  systemd.x86_64 0:219-67.el7_7.2                                                                     \n  systemd-libs.x86_64 0:219-67.el7_7.2                                                                \n  systemd-sysv.x86_64 0:219-67.el7_7.2                                                                \n  tuned.noarch 0:2.11.0-5.el7_7.1                                                                     \n  tzdata.noarch 0:2019c-1.el7                                                                         \n  util-linux.x86_64 0:2.23.2-61.el7_7.1                                                               \n\nComplete!\n[root@centos7 ~]# \n[root@centos7 ~]# <\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">How to check available updates<\/h2>\n\n\n\n<p>If you want to know beforehand which packages currently have updates available and hence will be updated then you can execute this command:<\/p>\n\n\n<p class=\"fonts-plugin-block \" style=\"font-family: calibri;font-weight: 700;font-size: 20px;color: #9b51e0\">yum check-update<\/p>\n\n\n<figure class=\"wp-block-video\"><video height=\"720\" style=\"aspect-ratio: 1280 \/ 720;\" width=\"1280\" controls src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/centos-7-yum-check-update.mp4\"><\/video><\/figure>\n\n\n\n<p>This command allows you to determine whether any updates are available for your installed packages. yum returns a list of all package updates from all repositories if any are available, just be aware that this command won\u2019t produce any output if yum has already been run recently.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">List of available updates<\/h2>\n\n\n\n<p>If you are little bit curious, you can take a look a the list returned by the above command, the image only show the firsts lines, and that&#8217;s why I did log the output of the command and paste here for you to see.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full is-resized\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/yum-check-update.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/yum-check-update.jpg\" alt=\"\" class=\"wp-image-2103\" width=\"797\" height=\"488\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/yum-check-update.jpg 797w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/yum-check-update-300x184.jpg 300w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/yum-check-update-768x470.jpg 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/figure><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash line-numbers\">[root@centos7 ~]# yum check-update\nLoaded plugins: fastestmirror\nDetermining fastest mirrors\n * base: mirror.ufam.edu.br\n * extras: mirror.ufscar.br\n * updates: mirror.ufscar.br\nbase                                                                                    | 3.6 kB  00:00:00     \nextras                                                                                  | 2.9 kB  00:00:00     \nupdates                                                                                 | 2.9 kB  00:00:00     \n(1\/4): base\/7\/x86_64\/primary_db                                                         | 6.0 MB  00:00:16     \n(2\/4): extras\/7\/x86_64\/primary_db                                                       | 153 kB  00:00:16     \n(3\/4): base\/7\/x86_64\/group_gz                                                           | 165 kB  00:00:17     \n(4\/4): updates\/7\/x86_64\/primary_db                                                      | 5.9 MB  00:00:21     \n\nNetworkManager.x86_64                                    1:1.18.0-5.el7_7.1                             updates\nNetworkManager-libnm.x86_64                              1:1.18.0-5.el7_7.1                             updates\nNetworkManager-team.x86_64                               1:1.18.0-5.el7_7.1                             updates\nNetworkManager-tui.x86_64                                1:1.18.0-5.el7_7.1                             updates\nNetworkManager-wifi.x86_64                               1:1.18.0-5.el7_7.1                             updates\nbinutils.x86_64                                          2.27-41.base.el7_7.1                           updates\nca-certificates.noarch                                   2019.2.32-76.el7_7                             updates\ncurl.x86_64                                              7.29.0-54.el7_7.1                              updates\ndevice-mapper.x86_64                                     7:1.02.158-2.el7_7.2                           updates\ndevice-mapper-event.x86_64                               7:1.02.158-2.el7_7.2                           updates\ndevice-mapper-event-libs.x86_64                          7:1.02.158-2.el7_7.2                           updates\ndevice-mapper-libs.x86_64                                7:1.02.158-2.el7_7.2                           updates\nfirewalld.noarch                                         0.6.3-2.el7_7.2                                updates\nfirewalld-filesystem.noarch                              0.6.3-2.el7_7.2                                updates\nhostname.x86_64                                          3.13-3.el7_7.1                                 updates\niproute.x86_64                                           4.11.0-25.el7_7.2                              updates\nkernel.x86_64                                            3.10.0-1062.9.1.el7                            updates\nkernel-tools.x86_64                                      3.10.0-1062.9.1.el7                            updates\nkernel-tools-libs.x86_64                                 3.10.0-1062.9.1.el7                            updates\nkrb5-libs.x86_64                                         1.15.1-37.el7_7.2                              updates\nlibblkid.x86_64                                          2.23.2-61.el7_7.1                              updates\nlibcurl.x86_64                                           7.29.0-54.el7_7.1                              updates\nlibmount.x86_64                                          2.23.2-61.el7_7.1                              updates\nlibsmartcols.x86_64                                      2.23.2-61.el7_7.1                              updates\nlibuuid.x86_64                                           2.23.2-61.el7_7.1                              updates\nlvm2.x86_64                                              7:2.02.185-2.el7_7.2                           updates\nlvm2-libs.x86_64                                         7:2.02.185-2.el7_7.2                           updates\nmicrocode_ctl.x86_64                                     2:2.1-53.7.el7_7                               updates\nnss.x86_64                                               3.44.0-7.el7_7                                 updates\nnss-softokn.x86_64                                       3.44.0-8.el7_7                                 updates\nnss-softokn-freebl.x86_64                                3.44.0-8.el7_7                                 updates\nnss-sysinit.x86_64                                       3.44.0-7.el7_7                                 updates\nnss-tools.x86_64                                         3.44.0-7.el7_7                                 updates\nnss-util.x86_64                                          3.44.0-4.el7_7                                 updates\nnumactl-libs.x86_64                                      2.0.12-3.el7_7.1                               updates\npolkit.x86_64                                            0.112-22.el7_7.1                               updates\nprocps-ng.x86_64                                         3.3.10-26.el7_7.1                              updates\npython-firewall.noarch                                   0.6.3-2.el7_7.2                                updates\npython-perf.x86_64                                       3.10.0-1062.9.1.el7                            updates\nrsyslog.x86_64                                           8.24.0-41.el7_7.2                              updates\nselinux-policy.noarch                                    3.13.1-252.el7_7.6                             updates\nselinux-policy-targeted.noarch                           3.13.1-252.el7_7.6                             updates\nsudo.x86_64                                              1.8.23-4.el7_7.1                               updates\nsystemd.x86_64                                           219-67.el7_7.2                                 updates\nsystemd-libs.x86_64                                      219-67.el7_7.2                                 updates\nsystemd-sysv.x86_64                                      219-67.el7_7.2                                 updates\ntuned.noarch                                             2.11.0-5.el7_7.1                               updates\ntzdata.noarch                                            2019c-1.el7                                    updates\nutil-linux.x86_64                                        2.23.2-61.el7_7.1                              updates\n[root@centos7 ~]# \n[root@centos7 ~]# \n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">How to update the Linux Kernel on CentOS 7<\/h2>\n\n\n\n<p>I hope you&#8217;ve noticed that between the multiple things that have been updated was the Kernel, if you haven&#8217;t please go back to <a href=\"\/updating-your-centos-with-yum\/#Update_completed_list\">the list<\/a> and look lines number <strong>431 <\/strong>and <strong>432<\/strong>, you&#8217;ll surprised, same as I was the first time, unbelievable! Many Thanks to yum for making our life that easy!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/centos7-kernel-updated-using-yum-line432.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"451\" height=\"102\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/centos7-kernel-updated-using-yum-line432.jpg\" alt=\"\" class=\"wp-image-2139\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/centos7-kernel-updated-using-yum-line432.jpg 451w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/centos7-kernel-updated-using-yum-line432-300x68.jpg 300w\" sizes=\"auto, (max-width: 451px) 100vw, 451px\" \/><\/a><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">How to check the Kernel version<\/h2>\n\n\n\n<p>As you can imagine there is a CLI command which allow us to see the current version of the Linux Kernel, see below.<\/p>\n\n\n<p class=\"fonts-plugin-block \" style=\"font-family: calibri;font-weight: 700;font-size: 20px;color: #9b51e0\">uname -snr<\/p>\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/centos7-kernel-updated-using-yum-checked-ok.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"428\" height=\"157\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/centos7-kernel-updated-using-yum-checked-ok.jpg\" alt=\"\" class=\"wp-image-2130\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/centos7-kernel-updated-using-yum-checked-ok.jpg 428w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/01\/centos7-kernel-updated-using-yum-checked-ok-300x110.jpg 300w\" sizes=\"auto, (max-width: 428px) 100vw, 428px\" \/><\/a><figcaption>CentOS kernel version<\/figcaption><\/figure><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Updating CentOS 7 with yum Keeping our system up to date with the latest versions of the OS and its patches as well as the installed applications is considered a good and healthy practice, those of you who comes from MS Windows are for sure familiar with &#8220;Windows Update&#8220;, well in the Linux world we &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lamp.ciscoar.com\/?page_id=2097\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Updating Your CentOS with yum&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2097","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/2097","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2097"}],"version-history":[{"count":30,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/2097\/revisions"}],"predecessor-version":[{"id":3581,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/2097\/revisions\/3581"}],"wp:attachment":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}