Playing With Free Yum….
I use Oracle Enterprise Linux at my home. Now there are lots of talks that one should use Centos as it does give away free patch updates even or one should actually go and buy Red Hat’s Enterprise Linux as its proven one but I guess, both the logics don’t serve very well for me. I don’t run a data center at my home so I really am not bothered about patches and all that stuff , whether they are free or paid. I have seen RedHat being used almost all the places so some thing which is just a clone of it and is coming without any cost, I guess, I should use that. I have not seen Centos being used so far anywhere, at least where ever I have visited. So for a guy with almost no cash, OEL is a perfect solution 😉 .
Since OEL is free of cost, oracle won’t give the critical patch updates of it freely. But they have decided to give away the RPMs of it free of cost which are other wise also available on the installation media. Sergio posted a note about the release of the free YUM server here,
So I just thought , let’s give it a try. So I just checked the instructions mentioned at the Public YUM’s site, http://public-yum.oracle.com/
First we have to rename the Oracle_base file which is available at /etc/yum.repos.d. Under this , originally I had, ULN-Base.repo file which I renamed as ULN-Base.repo.disabled. Second step is to get the required file for my version through WGET, so I used,
This got the required file over my box. Next step was to locate the right section from whre I want to get the updates. So for my OEL 4 version with 6 update, I did this,
name=Enterprise Linux $releasever U6 – $basearch – base
enabled=1 <<—- Changed from 0 to 1
name=Enterprise Linux $releasever U7 – $basearch – base
Well, that’s all! After this, time was to test this Yum thing. So as given in the faq site , I thought to update my Firefox. Here is a long list of things which happened when I entered,
[root@oracle yum.repos.d]# yum install firefox
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
–> Populating transaction set with selected packages. Please wait.
—> Downloading header for firefox to pack into transaction set.
firefox-126.96.36.199-0.3.el4. 100% |=========================| 83 kB 00:01
—> Package firefox.i386 0:188.8.131.52-0.3.el4.0.1 set to be updated
–> Running transaction check
Package Arch Version Repository Size
firefox i386 184.108.40.206-0.3.el4.0.1 el4_u6_base 15 M
Install 0 Package(s)
Update 1 Package(s)
Remove 0 Package(s)
Total download size: 15 M
Is this ok [y/N]: y
(1/1): firefox-220.127.116.11-0 100% |=========================| 15 MB 06:14
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID b38a8516
Public key for firefox-18.104.22.168-0.3.el4.0.1.i386.rpm is not installed
Retrieving GPG key from http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el4
Importing GPG key 0xB38A8516 “Oracle OSS group (Open Source Software group) <bui email@example.com>”
Is this ok [y/N]: y
Key imported successfully
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Updating : firefox ######################### [1/2]
Cleanup : firefox ######################### [2/2]
Updated: firefox.i386 0:22.214.171.124-0.3.el4.0.1
Alright, so it seems that this YUM did work, cool! At least now I won’t be required to run to the DVD of OEL 4 that I have when ever I need some RPM to be installed. How about buying support? Well, I guess, in 119$ , that’s not much costly ;-).