0% found this document useful (0 votes)
35 views

Public Yum Server: Oracle Linux 7

The document provides instructions for using Oracle's public yum server to install Oracle Linux and Oracle VM packages for free without support. It explains that the yum server offers the latest package updates that can be accessed by downloading the appropriate yum configuration file, enabling the corresponding repository, and then using yum commands to install and update packages. This yum server is offered without any support from Oracle.

Uploaded by

Hưng Nguyễn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

Public Yum Server: Oracle Linux 7

The document provides instructions for using Oracle's public yum server to install Oracle Linux and Oracle VM packages for free without support. It explains that the yum server offers the latest package updates that can be accessed by downloading the appropriate yum configuration file, enabling the corresponding repository, and then using yum commands to install and update packages. This yum server is offered without any support from Oracle.

Uploaded by

Hưng Nguyễn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Public Yum Server

Last updated: 22 September, 2014

Introduction
The Oracle public yum server offers a free and convenient way to install the latest Oracle Linux packages as well as
packages from the Oracle VM installation media via a yum client.
You can download the full Oracle Linux and Oracle VM installation media via edelivery.oracle.com/linux. To stay
current on errata updates, you may wish to subscribe to the Oracle Linux errata mailing list.
This yum server is offered without support of any kind. If you require support, please consider purchasing Oracle
Linux Support via the online store, or via your sales representative.

Getting Started
1.

Download and Install Oracle Linux

2.

Download and copy the appropriate yum configuration file in place, by running the following commands as
root:

Oracle Linux 7
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ol7.repo

Oracle Linux 6
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ol6.repo

Oracle Linux 5
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-el5.repo

Oracle Linux 4, Update 6 or Newer


# cd /etc/yum.repos.d
# mv Oracle-Base.repo Oracle-Base.repo.disabled
# wget http://public-yum.oracle.com/public-yum-el4.repo

Oracle VM 2
# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-ovm2.repo

Oracle OpenStack for Oracle Linux

# cd /etc/yum.repos.d
# wget http://public-yum.oracle.com/public-yum-openstack-ol6.repo
3.

4.

Enable the appropriate repository by editing the yum configuration file


o

Open the yum configuration file in a text editor

Locate the section in the file for the repository you plan to update from, e.g. [el4_u6_base]

Change enabled=0 to enabled=1

Begin using yum, for example:


yum list
yum install firefox

You may be prompted to confirm the import of the Oracle OSS Group GPG key.

You might also like