World wide web is full of hits/errors whereby techies & DBA's try to install Oracle Database or Oracle R12 or other Oracle Products on Oracle Enterprise Linux, and they bump into missing rpms. In this article, you will see step by step instructions of how you can leverage the public rpm repository exposed by Oracle.
There is no need of login/password to install these publicly available rpm's from Oracle's website.
Missing RPM's are the single most important hurdle that dba's & developers must cross when installing desired Oracle software's on linux boxes. The best way for any Oracle developer to get started with Linux based installations is by installing Oracle 11g Database on Oracle Enterprise Linux.
Steps are
a. Register, download & install VMWare server. Youtube has many videos for this. Simply search for VMWare server install in http://youtube.com
b. Register and download Oracle Enterprise Linux from
http://edelivery.oracle.com/linux
c. Download Oracle Database 11g for Linux from
d. Unzip the files in any temp/staging or installation directory
By following steps a) to e), you can get first hand experience of the process of installing Oracle Software's on linux.
However, the Step (e) on Oracle's webpage does not give a clue about how you will install the RPMs
This article gives step by step instructions to install missing RPMs, and this knowledge can be carried forward into learning installation of other complex Oracle Products.
Firstly let us do some Q&A
What is a rpm ?
Think of rpm to be equivalent to Windows executable that installs some software on your Windows based computers. Likewise rpm's are equivalent to windows installation executable EXE files.
I have downloaded Oracle Enterprise Linux which is a product from Oracle. Why should I then install extra rpm's for installing other Oracle products?
Let us take an example. You may have installed the basic initial version Oracle Enterprise Linux 5 perhaps an year ago. But the latest Oracle 11g R2 database released a month ago might be dependent upon some code/libraries in the Linux operating system that were not a part of base version of OEL5. As of today, Oracle have version 5th of OEL5 which perhaps comes bundled with all necessary rpm's needed for current Oracle toolsets.
However your version of O/S install may not have those necessary RPMs
Additionally you may in future install new Oracle software on your existing Oracle Enterprise Linux. The new software's might depend upon some new libraries that are delivered as rpm. These new libraries may not have been shipped with your version of O/S. In such cases, you must download & install the latest version of those libraries onto your Linux Operating system. It is in such cases you will find the steps in this article helpful, whereby you can install the latest rpm's straight from Oracle's website.
Installing rpm's is a nightmare, because I need to work through the list of dependent rpm's
Well not really, the beauty of Oracle's Public yum repository is that, "yum install" command can scan and automatically install all the dependent rpm's automatically for you from Oracle's public rpm repository
Is yum the only command to install packages in Linux?
Not really, however the most common commands are rpm and yum
Can I not extract the desired rpm's from the Linux Installation CD itself
Of course you can, provided the rpm's are contained within that CD. I prefer to leverage Oracle's RPM repository and prefer yum to install all dependent packages by itself
What is the URL of public Oracle's Public yum repository?
What are the steps for connecting my linux machine to Oracle's yum server
You need to download the yum .repo file from the server, as per the steps below. After this, you need to enable a flag in the .repo file as per your operating system version. Having done these two steps, when you run yum install <pkgname> command on your linux box, the Oracle's yum server will be scanned, the dependent & the relevant rpm's will be download and installed for you.
Steps are highlighted in
blue
cd /etc/yum.repos.d
To download files here
wget http://public-yum.oracle.com/public-yum-el5.repo
A file named public-yum-el5.repo will be created in your directory
Edit this file and enter enabled=1 against the operating systems which is relevant to you
vi public-yum-el5.repo
Next run the yum command
yum install package-name
For detailed visual steps, please see below images and the video
Download the yum repository reference to your linux box
Specify your operating system, in my case it is Oracle Enterprise Linux 5 update5
Check if the rpm exists already. If rpm is not already installed then rpm -qa will not list your rpm, hence grep will not return anything
Next install the rpm, in this case glibc-devel.
After installation, command "yum -qa" will list your rpm as it is now installed
In case rpm already exists, then you get a message "Nothing to do"
The Link to video is
Note- Thanks to Gary Derrick [EBusiness Suite Consultant] for pointing me to the Oracle's Yum Server
Comments
-bre nt
here's my output from uname -a
Linux localhost.local domain 2.6.18-164.el5P AE #1 SMP Thu Sep 3 02:28:20 EDT 2009 i686 i686 i386 GNU/Linux
Is that update #1?
Thanks
cat /etc/redhat-rel ease
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
I guess mine is update 4
using? Can I get your affiliate link to your host? I wish my site loaded up
as fast as yours lol
this article reminds me of my previous roommate! He always
kept preaching about this. I'll send this information to him.
Pretty sure he'll have a very good read. I appreciate you
for sharing!
I'd state. This is the first time I frequented your website page and up to now?
I amazed with the research you made to make this particular put
up amazing. Excellent task!
to this fantastic blog! I suppose for now i'll settle for book-marking and adding your RSS
feed to my Google account. I look forward to fresh updates and will share this site with my Facebook group.
Talk soon!
courage to go ahead and give you a shout out from Lubbock Texas!
Just wanted to say keep up the excellent job!
such as you wrote the book in it or something.
I believe that you simply could do with a few
% to drive the message house a bit, however instead of that, this is great blog.
A fantastic read. I'll certainly be back.
Looking at this article reminds me of my previous roommate!
He always kept talking about this. I most certainly will forward this article to him.
Pretty sure he'll have a very good read. Thanks for sharing!
Looking through this post reminds me of my previous roommate!
He constantly kept preaching about this. I am going to forward this post to him.
Fairly certain he's going to have a very good read. Thanks for sharing!
website, that's what this site is providing.
I bookmarked it.
I surprise how so much attempt you set to create this sort of great informative website.
I'm hoping to start my own blog soon but I'm a little lost on everything.
Would you advise starting with a free platform like Wordpress or go for a paid option? There are so many options out there that
I'm completely overwhelmed .. Any tips? Bless you!
community. Your site provided us with valuable information to work on. You have done an impressive activity
and our entire group might be thankful to you.
why the other experts of this sector don't notice this.
You should proceed your writing. I am confident, you've a huge readers' base already!
post to be updated daily. It consists of pleasant data.
would state. This is the first time I frequented your website page and so far?
I surprised with the analysis you made to make this particular put up
extraordinary. Excellent activity!
added- checkbox and now each time a comment is added I receive 4
emails with the same comment. Perhaps there is a way you
can remove me from that service? Many thanks!
info with us. Please stay us up to date like this. Thanks for sharing.
that I've truly enjoyed surfing around your blog posts.
After all I will be subscribing to your feed and I hope you write again soon!
us. Please stay us informed like this. Thanks for sharing.
of useful facts, thanks for providing such statistics.
article is actually a fastidious article, keep it up.
your site, how can i subscribe for a blog site? The account aided me a acceptable deal.
I had been tiny bit acquainted of this your broadcast provided bright clear concept
The clarity to your post is simply excellent and i can suppose you're a professional
in this subject. Fine together with your permission allow me to clutch your feed to keep up to date with drawing close post.
Thanks 1,000,000 and please continue the rewarding work.
topic to be really something that I think I would never understand.
It kind of feels too complex and extremely wide for me.
I am looking forward on your subsequent publish,
I'll attempt to get the grasp of it!
"SEO Campaigns"
SEO Campaigns come with fantastic features, as we will submit your website on the top worldwide websites with the most powerful domain authority.
Choose Your Campaign Package Based on Your Needs
https://www.fiverr.com/crockservicelk/build-high-authority-contextual-dofollow-seo-backlinks
SEO backlinks Package start from $10 and 100% customer satisfaction guaranteed.
If your Need more details Contact through the fiverr or email crockservicelkgmail.com
Looking through this article reminds me of my previous
roommate! He constantly kept talking about this. I am going to send this post to
him. Pretty sure he'll have a very good read. I appreciate you
for sharing!
share my familiarity here with colleagues.
thanks for permitting me to comment!
weblog. Do you ever run into any browser compatibility problems?
A number of my blog visitors have complained about my blog not working correctly in Explorer but
looks great in Firefox. Do you have any tips to help fix this issue?
anything totally, but this paragraph offers pleasant understanding even.
Its very well written; I love what youve got
to say. But maybe you could a little more in the way of content so people could connect
with it better. Youve got an awful lot of text for only having
one or two images. Maybe you could space it out better?
while I am also eager of getting familiarity.
bookmarking for revisiting. I surprise how much attempt
you put to create the sort of excellent informative
web site.
each time a comment is added I get several emails with the same comment.
Is there any way you can remove me from that service?
Appreciate it!
to help with SEO? I'm trying to get my blog to rank for some targeted keywords but I'm not seeing very good
success. If you know of any please share. Cheers!
or e-newsletter service. Do you've any? Kindly allow
me realize in order that I could subscribe. Thanks.
is good, thats why i have read it completely
Do you know how to make your site mobile friendly?
My web site looks weird when viewing from my iphone4. I'm trying to find a template or plugin that
might be able to fix this problem. If you have any recommendations , please
share. With thanks!
what a material! present here at this weblog, thanks admin of this web page.
I really like all of the points you've made.
to me. Anyways, I'm definitely glad I found it and I'll be bookmarking and checking back frequently!
write a little comment to support you.
RSS feed for comments to this post