Page 1 of 1

Installing Oracle-Linux packages

Posted: 2011/09/05 01:52:47
by Art11
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.

Re: Installing Oracle-Linux packages

Posted: 2011/09/05 08:44:16
by TrevorH
[code]
yum --enablerepo=c5-media install <package-name>
[/code]

Re: Installing Oracle-Linux packages

Posted: 2011/09/05 15:51:02
by Art11
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.

Installing Oracle-Linux packages

Posted: 2011/09/05 21:00:26
by scottro
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.)