How to update CentOS 6.2/6.3/6.4 to CentOS 6.5


CentOS 6 LogoCentOS community has released its major release of CentOS 6.5 on 1st December 2013, Since from the day of release every one is looking for upgrading the current version to latest CentOS release. This how to is mainly focusing on upgrading previous release of CentOS 6.x to the latest. Before going to update, lets look into the main features in the latest version.

Major Changes:

  1. The Precision Time Protocol is now fully supported.
  2. OpenSSL now supports TLS 1.1 and 1.2
  3. KVM supports VMDK and VHDX  file in read only mode, CPU hot plugging added in KVM.
  4. LibreOffice and Evolution updated to latest version.
  5. Hyper-V and VMware drivers are updated.

Check the current version of your release.

[root@server ~]# cat /etc/redhat-release
CentOS release 6.4 (Final)

Now lets look what are the updates available for your system.

[root@server ~]# yum check-update

The following are the list of available updates for my machine.

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base:
* extras:
* updates:

atk.i686                            1.30.0-1.el6                        base
bash.i686                           4.1.2-15.el6_4                      base
ca-certificates.noarch              2013.1.95-65.1.el6_5                updates
centos-release.i686                 6-5.el6.centos.11.2                 updates
chkconfig.i686                              base
coreutils.i686                      8.4-31.el6                          base
coreutils-libs.i686                 8.4-31.el6                          base
createrepo.noarch                   0.9.9-18.el6                        base
cronie.i686                         1.4.4-12.el6                        base
cronie-anacron.i686                 1.4.4-12.el6                        base
curl.i686                           7.19.7-37.el6_4                     base
cvs.i686                            1.11.23-16.el6                      base
db4.i686                            4.7.25-18.el6_4                     base
db4-utils.i686                      4.7.25-18.el6_4                     base
dbus-glib.i686                      0.86-6.el6                          base
device-mapper.i686                  1.02.79-8.el6                       base
device-mapper-event.i686            1.02.79-8.el6                       base

If you are satisfied with the updates, lets issue the following command to install the same.

[root@server ~]# yum update

You will get the following information with download size, you need to confirm the installation by pressing Y and Enter.

tzdata                        noarch 2013i-1.el6                updates 447 k
tzdata-java                   noarch 2013i-1.el6                updates 147 k
udev                          i686   147-2.51.el6               base    356 k
upstart                       i686   0.6.5-12.el6_4.1           base    167 k
util-linux-ng                 i686   2.17.2-12.14.el6           base    1.5 M
yum                           noarch 3.2.29-43.el6.centos       updates 996 k
Installing for dependencies:
db4-cxx                       i686   4.7.25-18.el6_4            base    605 k
db4-devel                     i686   4.7.25-18.el6_4            base    6.6 M
gdbm-devel                    i686   1.8.0-36.el6               base     25 k
glibc-devel                   i686   2.12-1.132.el6             base    978 k
glibc-headers                 i686   2.12-1.132.el6             base    616 k
kernel-headers                i686   2.6.32-431.3.1.el6         updates 2.8 M
p11-kit                       i686   0.18.5-2.el6               base     93 k
p11-kit-trust                 i686   0.18.5-2.el6               base     68 k
shared-mime-info              i686   0.70-4.el6                 base    208 k

Transaction Summary
Install      10 Package(s)
Upgrade     148 Package(s)

Total download size: 222 M
Is this ok [y/N]: y
Downloading Packages:
(1/158): atk-1.30.0-1.el6.i686.rpm                      | 194 kB     00:00
(2/158): bash-4.1.2-15.el6_4.i686.rpm                   | 886 kB     00:00
(3/158): ca-certificates-2013.1.95-65.1.el6_5.noarch.rp | 1.1 MB     00:00
(4/158): centos-release-6-5.el6.centos.11.2.i686.rpm    |  20 kB     00:00
(5/158): chkconfig-          | 158 kB     00:00

Once downloaded, it will automatically start installing it.

(157/158): yum-plugin-fastestmirror-1.1.30-14.el6.noarch |  28 kB     00:00
(158/158): zlib-1.2.3-29.el6.x86_64.rpm                  |  73 kB     00:01
Total                                            31 kB/s | 131 MB     71:32
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating   : libgcc-4.4.7-4.el6.x86_64                                  1/259
Updating   : 12:dhcp-common-4.1.1-38.P1.el6.centos.x86_64               2/259
Updating   : tzdata-2013i-1.el6.noarch                                  3/259
Updating   : nss-softokn-freebl-3.14.3-9.el6.x86_64                     4/259
Updating   : bash-4.1.2-15.el6_4.x86_64                                 5/259
Updating   : glibc-2.12-1.132.el6.x86_6 [###############            ]   6/259

Once completed, reboot the machine

[root@client ~]# reboot

You can verify the CentOS version.

[root@client ~]# cat /etc/redhat-release
CentOS release 6.5 (Final)

That’s All!, now you have the latest version of CentOS.

You might also like