X

News, tips, partners, and perspectives for Oracle’s virtualization offerings

Upgrade to the Latest Oracle Linux 7 Developer Preview

Honglin Su
Sr. Director of Product Management

Recently we had a number of releases that make Oracle Linux an even better development platform.

Now I want to share how to upgrade an existing Oracle Linux 7 installation to the latest Oracle Linux 7 Update 5 Developer Preview with the Unbreakable Enterprise Kernel (UEK) Release 5 Developer Preview (4.14.23-1.el7uek.x86_64).

Modify the yum channel setting and enable the Oracle Linux 7 Update 5 Developer Preview and UEK Release 5 Developer Preview channels. Then you perform the upgrade.

# vi /etc/yum.repos.d/public-yum-ol7.repo

[ol7_u5_developer]
name=Oracle Linux $releasever Update 5 installation media copy ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/5/developer/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

[ol7_u5_developer_optional]
name=Oracle Linux $releasever Update 5 optional packages ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/optional/developer/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

[ol7_developer_UEKR5]
name=Oracle Linux $releasever UEK5 Development Packages ($basearch)
baseurl=http://yum.oracle.com/repo/OracleLinux/OL7/developer_UEKR5/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1
# yum update

After the upgrade is completed, reboot the system to have the updated OS environment running.

# cat /etc/oracle-release
Oracle Linux Server release 7.5

# uname -a
Linux honsu-ol7-vm1 4.14.23-1.el7uek.x86_64 #2 SMP Thu Mar 1 12:35:10 PST 2018 x86_64 x86_64 x86_64 GNU/Linux

The above instructions apply to any Oracle Linux 7 instances on-premises or on Oracle Cloud Infrastructure.

For the latest update about Oracle Linux, follow blogs.oracle.com/linux.

Join the discussion

Comments ( 1 )
  • Pranas Baliuka Monday, November 19, 2018
    Interestingly
    > yum --releasever=7.5 update
    Causes
    > cat /etc/redhat-release
    7.6

    Any ideas how to update the 7.5 without bumping up the minor release version?
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha
Oracle

Integrated Cloud Applications & Platform Services