{"id":4496,"date":"2013-03-22T00:15:09","date_gmt":"2013-03-21T16:15:09","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=4496"},"modified":"2023-04-28T09:48:22","modified_gmt":"2023-04-28T09:48:22","slug":"how-to-update-centos-6-4-system-using-yum-update","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-update-centos-6-4-system-using-yum-update\/","title":{"rendered":"How to Update CentOS 6.4 System using &#8216;yum update&#8217;"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignleft size-thumbnail wp-image-3845 lazyload\" alt=\"Linux Logo\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/09\/linux-logo-150x150.jpg\" width=\"150\" height=\"150\" data-srcset=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/09\/linux-logo-150x150.jpg 150w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2012\/09\/linux-logo-100x100.jpg 100w\" data-sizes=\"(max-width: 150px) 100vw, 150px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 150px; --smush-placeholder-aspect-ratio: 150\/150;\" \/>This post will show how you can update CentOS 6.4 system with &#8216;<strong>yum<\/strong>&#8216; command. You should update the linux to newer release or latest linux kernal because you will get security fixes, stability improvements, updated device drivers, get new kernel functions and to increased speed of the linux operating system. After get all above benefits, it\u2019s very worthwhile to update your kernel for Linux often as soon as new update released. Now let&#8217;s take a look at the most common linux command that we can use for updating linux system. This steps has been tested on CentOS 6.4.<\/p>\n<h3>1 Get &#8216;yum-plugin-fastestmirror&#8217; plugin installed. This plugin will looks for fast server to download packages :<\/h3>\n<pre>[root@centos64 ~]# yum install yum-plugin-fastestmirror -y<\/pre>\n<h3>2. Check current version and current kernel version :<\/h3>\n<pre>[root@centos64 ~]# cat \/etc\/redhat-release\nCentOS release 6.4 (Final)<\/pre>\n<pre>[root@centos64 ~]# uname -a\nLinux centos64.ehowstuff.local 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU\/Linux<\/pre>\n<h3>3. Perform system update by &#8216;yum update&#8217; command :<\/h3>\n<pre>[root@centos64 ~]# yum update -y<\/pre>\n<p>Example :<\/p>\n<pre>[root@centos64 ~]# yum update -y\nLoaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: centos.ipserverone.com\n * extras: centos.ipserverone.com\n * updates: centos.ipserverone.com\nSetting up Update Process\nResolving Dependencies\n--&gt; Running transaction check\n---&gt; Package dbus-glib.x86_64 0:0.86-5.el6 will be updated\n---&gt; Package dbus-glib.x86_64 0:0.86-6.el6 will be an update\n---&gt; Package kernel.x86_64 0:2.6.32-358.2.1.el6 will be installed\n---&gt; Package kernel-firmware.noarch 0:2.6.32-358.el6 will be updated\n---&gt; Package kernel-firmware.noarch 0:2.6.32-358.2.1.el6 will be an update\n---&gt; Package libxml2.x86_64 0:2.7.6-8.el6_3.4 will be updated\n---&gt; Package libxml2.x86_64 0:2.7.6-12.el6_4.1 will be an update\n---&gt; Package mysql-libs.x86_64 0:5.1.66-2.el6_3 will be updated\n---&gt; Package mysql-libs.x86_64 0:5.1.67-1.el6_3 will be an update\n---&gt; Package openldap.x86_64 0:2.4.23-31.el6 will be updated\n---&gt; Package openldap.x86_64 0:2.4.23-32.el6_4 will be an update\n---&gt; Package openssl.x86_64 0:1.0.0-27.el6 will be updated\n---&gt; Package openssl.x86_64 0:1.0.0-27.el6_4.2 will be an update\n---&gt; Package selinux-policy.noarch 0:3.7.19-195.el6 will be updated\n---&gt; Package selinux-policy.noarch 0:3.7.19-195.el6_4.3 will be an update\n---&gt; Package selinux-policy-targeted.noarch 0:3.7.19-195.el6 will be updated\n---&gt; Package selinux-policy-targeted.noarch 0:3.7.19-195.el6_4.3 will be an update\n---&gt; Package tzdata.noarch 0:2012j-1.el6 will be updated\n---&gt; Package tzdata.noarch 0:2012j-2.el6 will be an update\n--&gt; Finished Dependency Resolution\n\nDependencies Resolved\n\n==============================================================================================================\n Package                            Arch              Version                        Repository          Size\n==============================================================================================================\nInstalling:\n kernel                             x86_64            2.6.32-358.2.1.el6             updates             26 M\nUpdating:\n dbus-glib                          x86_64            0.86-6.el6                     updates            170 k\n kernel-firmware                    noarch            2.6.32-358.2.1.el6             updates             11 M\n libxml2                            x86_64            2.7.6-12.el6_4.1               updates            799 k\n mysql-libs                         x86_64            5.1.67-1.el6_3                 updates            1.2 M\n openldap                           x86_64            2.4.23-32.el6_4                updates            265 k\n openssl                            x86_64            1.0.0-27.el6_4.2               updates            1.4 M\n selinux-policy                     noarch            3.7.19-195.el6_4.3             updates            1.8 M\n selinux-policy-targeted            noarch            3.7.19-195.el6_4.3             updates            2.8 M\n tzdata                             noarch            2012j-2.el6                    updates            453 k\n\nTransaction Summary\n==============================================================================================================\nInstall       1 Package(s)\nUpgrade       9 Package(s)\n\nTotal download size: 46 M\nDownloading Packages:\n(1\/10): dbus-glib-0.86-6.el6.x86_64.rpm                                                | 170 kB     00:01\n(2\/10): kernel-2.6.32-358.2.1.el6.x86_64.rpm                                           |  26 MB     04:11\n(3\/10): kernel-firmware-2.6.32-358.2.1.el6.noarch.rpm                                  |  11 MB     01:45\n(4\/10): libxml2-2.7.6-12.el6_4.1.x86_64.rpm                                            | 799 kB     00:06\n(5\/10): mysql-libs-5.1.67-1.el6_3.x86_64.rpm                                           | 1.2 MB     00:11\n(6\/10): openldap-2.4.23-32.el6_4.x86_64.rpm                                            | 265 kB     00:05\n(7\/10): openssl-1.0.0-27.el6_4.2.x86_64.rpm                                            | 1.4 MB     00:12\n(8\/10): selinux-policy-3.7.19-195.el6_4.3.noarch.rpm                                   | 1.8 MB     00:17\n(9\/10): selinux-policy-targeted-3.7.19-195.el6_4.3.noarch.rpm                          | 2.8 MB     00:27\n(10\/10): tzdata-2012j-2.el6.noarch.rpm                                                 | 453 kB     00:07\n--------------------------------------------------------------------------------------------------------------\nTotal                                                                         105 kB\/s |  46 MB     07:27\nwarning: rpmts_HdrFromFdno: Header V3 RSA\/SHA1 Signature, key ID c105b9de: NOKEY\nRetrieving key from file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-CentOS-6\nImporting GPG key 0xC105B9DE:\n Userid : CentOS-6 Key (CentOS 6 Official Signing Key) \n Package: centos-release-6-4.el6.centos.10.x86_64 (@anaconda-CentOS-201303020151.x86_64\/6.4)\n From   : \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-CentOS-6\nRunning rpm_check_debug\nRunning Transaction Test\nTransaction Test Succeeded\nRunning Transaction\n  Updating   : openssl-1.0.0-27.el6_4.2.x86_64                                                           1\/19\n  Updating   : selinux-policy-3.7.19-195.el6_4.3.noarch                                                  2\/19\n  Updating   : kernel-firmware-2.6.32-358.2.1.el6.noarch                                                 3\/19\n  Installing : kernel-2.6.32-358.2.1.el6.x86_64                                                          4\/19\n  Updating   : selinux-policy-targeted-3.7.19-195.el6_4.3.noarch                                         5\/19\n  Updating   : mysql-libs-5.1.67-1.el6_3.x86_64                                                          6\/19\n  Updating   : openldap-2.4.23-32.el6_4.x86_64                                                           7\/19\n  Updating   : tzdata-2012j-2.el6.noarch                                                                 8\/19\n  Updating   : dbus-glib-0.86-6.el6.x86_64                                                               9\/19\n  Updating   : libxml2-2.7.6-12.el6_4.1.x86_64                                                          10\/19\n  Cleanup    : selinux-policy-targeted-3.7.19-195.el6.noarch                                            11\/19\n  Cleanup    : selinux-policy-3.7.19-195.el6.noarch                                                     12\/19\n  Cleanup    : tzdata-2012j-1.el6.noarch                                                                13\/19\n  Cleanup    : kernel-firmware-2.6.32-358.el6.noarch                                                    14\/19\n  Cleanup    : mysql-libs-5.1.66-2.el6_3.x86_64                                                         15\/19\n  Cleanup    : openssl-1.0.0-27.el6.x86_64                                                              16\/19\n  Cleanup    : openldap-2.4.23-31.el6.x86_64                                                            17\/19\n  Cleanup    : dbus-glib-0.86-5.el6.x86_64                                                              18\/19\n  Cleanup    : libxml2-2.7.6-8.el6_3.4.x86_64                                                           19\/19\n  Verifying  : libxml2-2.7.6-12.el6_4.1.x86_64                                                           1\/19\n  Verifying  : kernel-firmware-2.6.32-358.2.1.el6.noarch                                                 2\/19\n  Verifying  : dbus-glib-0.86-6.el6.x86_64                                                               3\/19\n  Verifying  : selinux-policy-3.7.19-195.el6_4.3.noarch                                                  4\/19\n  Verifying  : tzdata-2012j-2.el6.noarch                                                                 5\/19\n  Verifying  : mysql-libs-5.1.67-1.el6_3.x86_64                                                          6\/19\n  Verifying  : openssl-1.0.0-27.el6_4.2.x86_64                                                           7\/19\n  Verifying  : kernel-2.6.32-358.2.1.el6.x86_64                                                          8\/19\n  Verifying  : openldap-2.4.23-32.el6_4.x86_64                                                           9\/19\n  Verifying  : selinux-policy-targeted-3.7.19-195.el6_4.3.noarch                                        10\/19\n  Verifying  : tzdata-2012j-1.el6.noarch                                                                11\/19\n  Verifying  : kernel-firmware-2.6.32-358.el6.noarch                                                    12\/19\n  Verifying  : selinux-policy-3.7.19-195.el6.noarch                                                     13\/19\n  Verifying  : openssl-1.0.0-27.el6.x86_64                                                              14\/19\n  Verifying  : selinux-policy-targeted-3.7.19-195.el6.noarch                                            15\/19\n  Verifying  : mysql-libs-5.1.66-2.el6_3.x86_64                                                         16\/19\n  Verifying  : libxml2-2.7.6-8.el6_3.4.x86_64                                                           17\/19\n  Verifying  : openldap-2.4.23-31.el6.x86_64                                                            18\/19\n  Verifying  : dbus-glib-0.86-5.el6.x86_64                                                              19\/19\n\nInstalled:\n  kernel.x86_64 0:2.6.32-358.2.1.el6\n\nUpdated:\n  dbus-glib.x86_64 0:0.86-6.el6                     kernel-firmware.noarch 0:2.6.32-358.2.1.el6\n  libxml2.x86_64 0:2.7.6-12.el6_4.1                 mysql-libs.x86_64 0:5.1.67-1.el6_3\n  openldap.x86_64 0:2.4.23-32.el6_4                 openssl.x86_64 0:1.0.0-27.el6_4.2\n  selinux-policy.noarch 0:3.7.19-195.el6_4.3        selinux-policy-targeted.noarch 0:3.7.19-195.el6_4.3\n  tzdata.noarch 0:2012j-2.el6\n\nComplete!<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This post will show how you can update CentOS 6.4 system with &#8216;yum&#8216; command. You should update the linux to newer release or latest linux kernal because you will get&#8230;<\/p>\n","protected":false},"author":6,"featured_media":3845,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2055],"tags":[1244,1255,1536,1944],"class_list":["post-4496","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","tag-centos","tag-centos-6-4","tag-linux","tag-yum-repositories"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/4496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=4496"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/4496\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/3845"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=4496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=4496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=4496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}