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,

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,

more public-yum-el4.repo
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
Resolving Dependencies
–> Populating transaction set with selected packages. Please wait.
—> Downloading header for firefox to pack into transaction set.
firefox- 100% |=========================|  83 kB    00:01
—> Package firefox.i386 0: set to be updated
–> Running transaction check

Dependencies Resolved

Package                 Arch       Version          Repository        Size
firefox                 i386  el4_u6_base        15 M

Transaction Summary
Install      0 Package(s)
Update       1 Package(s)
Remove       0 Package(s)
Total download size: 15 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): firefox- 100% |=========================|  15 MB    06:14
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID b38a8516
Public key for firefox- is not installed
Retrieving GPG key from
Importing GPG key 0xB38A8516 “Oracle OSS group (Open Source Software group) <bui>”
Is this ok [y/N]: y
Key imported successfully
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating  : firefox                      ######################### [1/2]
Cleanup   : firefox                      ######################### [2/2]

Updated: firefox.i386 0:

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 ;-).