To download the Oracle Linux Yum Server repository configuration file For OEL 5 & OEL 6
To download the Oracle Linux Yum Server repository configuration file For OEL 5 & OEL 6
As root, change directory to /etc/yum.repos.d.
For OEL 6
# cd /etc/yum.repos.d
# wget http://yum.oracle.com/public-yum-ol6.repo
The /etc/yum.repos.d directory is updated with the repository configuration file, in this example, public-yum-ol6.repo.
You can enable or disable repositories in the file by setting the value of the enabled directive to 1 or 0 as required.
For OEL 5
wget http://public-yum.oracle.com/public-yum-el5.repo
As root, change directory to /etc/yum.repos.d.
For OEL 6
# cd /etc/yum.repos.d
# wget http://yum.oracle.com/public-yum-ol6.repo
The /etc/yum.repos.d directory is updated with the repository configuration file, in this example, public-yum-ol6.repo.
You can enable or disable repositories in the file by setting the value of the enabled directive to 1 or 0 as required.
For OEL 5
wget http://public-yum.oracle.com/public-yum-el5.repo
No comments