Installing Oracle-Linux packages

Installation and support for Oracle DB on CentOS.
Art11
Posts: 26
Joined: 2011/09/03 21:31:35

Installing Oracle-Linux packages

Postby Art11 » 2011/09/05 01:52:47

Hi,
I'm new to Linux.
Is there a way to automate the process of installing all required Oracle-Linux rpm's please? What I'm looking for is some kind of script that would read the list of package names, then search for req-d package on the Linux DVD and installs it from DVD.

How to use YUM to install package from DVD please? I'm not sure how to enter the path to DVD correctly. Some examples would be aprecciated.
Thank you very much.
Art.

User avatar
TrevorH
Forum Moderator
Posts: 21158
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Installing Oracle-Linux packages

Postby TrevorH » 2011/09/05 08:44:16

Code: Select all

yum --enablerepo=c5-media install <package-name>

Art11
Posts: 26
Joined: 2011/09/03 21:31:35

Re: Installing Oracle-Linux packages

Postby Art11 » 2011/09/05 15:51:02

Thank you very much, TrevorH!
Is there a reason Oracle packages not included in Linux install? I understand that those rpm's req-d by Oracle not needed to run Linux. But there is only a few of them... So, why not to include them in Linux installation?
Thank you very much.

scottro
Forum Moderator
Posts: 2335
Joined: 2007/09/03 21:18:09
Location: NYC
Contact:

Installing Oracle-Linux packages

Postby scottro » 2011/09/05 21:00:26

If I remember correctly, many of these packages are packages used for compiling software. That's not necessarily desirable, depending upon circumstances--for example, you might not want a server to have software used for compiling packages, as it can add vulnerabilities.

RedHat picks what it feels are a sane set of default packages, and also offers other installations--that is, when you're installing, you can choose minimal, web server, etc. (There might be a development platform option too--if there is, it would probably have many of the packages you had to add.)