LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-10-2012, 01:19 AM   #1
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Rep: Reputation: Disabled
Installing Software packages


Hai ;


YUM vs RPM

Are they used to install only software packages ????
which is most easier to Oracle DBA level ????
may i know difference between " RPM and PACKAGES "
i mean easier to identify ???

For ex
dir statrs wirh d
File starts with -

** Always i am using ISO images **

===============================================================

While i install oracle 10g on redhat linux few weeks before :

From RedHat AS4 Disk 3

cd /media/cdrom/RedHat/RPMS
rpm -Uvh openmotif-2*
rpm -Uvh compat-db-4*
rpm -Uvh libaio-0*
rpm -Uvh gcc-3*

command executed like this

** here i know disc no
** then i execute required PAckages..

===============================================================

In OEL how can i know disc no to install libaio-0.3.96;


Regards ;
Thiyagusham.G
===============================================================
 
Old 05-10-2012, 01:52 AM   #2
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbangified Debian 8 (Jessie)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
Try reading this article!.
 
1 members found this post helpful.
Old 05-10-2012, 02:28 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Which OS are you using ? ? AS 4 ? ( AS4 was obsoleted February 2012.)

Quote:
In OEL how can i know disc no to install libaio-0.3.96
libaio-0.3.96 is a package from the old EL 3.
http://ftp.redhat.com/pub/redhat/lin...prise/3/en/os/

.

Last edited by knudfl; 05-10-2012 at 02:29 AM.
 
1 members found this post helpful.
Old 05-10-2012, 03:24 AM   #4
zXi
LQ Newbie
 
Registered: May 2012
Posts: 28

Rep: Reputation: Disabled
@thiyagusham: To quote from my professor, "rpm is like eating stuff from your fridge. You know it is there and you get it and eat it, unless you find that the food is very old and you can't, . [in this case, the rpm you have downloaded does not support your kernel ]" "yum is like ordering your pizza, you choose your shop, they then make your pizza based on your order [in this case, your OS kernel level, supported package available for your distribution...]

nom nom nomm.. yum yum.. :P

HTH,
zXi
 
1 members found this post helpful.
Old 05-10-2012, 11:30 AM   #5
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
@ zXi

I got it. thanks to you. RPM's are loaded by default while installing LINUX.
I checked my linux version . libaio not loaded.
Already i installed redhat linux 5 successfully.
so i am going to copy from Redhat linux 5. Is it good way ???? does it support ???

Thanks and Regards
Thiyagusham.G
 
Old 05-10-2012, 11:33 AM   #6
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
@ knudfi
Thank you for your reply. Given link ... is it working ???? I cant capture anything from that link ...

Thank you
Thiyagusham.G
 
Old 05-10-2012, 12:16 PM   #7
zXi
LQ Newbie
 
Registered: May 2012
Posts: 28

Rep: Reputation: Disabled
Quote:
Already i installed redhat linux 5 successfully.
so i am going to copy from Redhat linux 5
If my understanding is correct, you found a libaio that you have downloaded is for RHEL5 kernel, if yes, then please go ahead and install the same.

Rpms simply put are Pre-built modules. When you install a rpm, the files placed or extracted by the rpm is recognized by your kernel.

HTH,
zXi
 
1 members found this post helpful.
Old 05-10-2012, 01:02 PM   #8
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
@qlue
ya .. Thanks ... I am reading but i need to mention i need information just as oracle DBA level .
but given information's are much what i expected ... Thanks ...
 
Old 05-10-2012, 01:19 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
# 6

Just follow the link to ...
http://ftp.redhat.com/pub/redhat/lin...os/i386/SRPMS/
.. and http://ftp.redhat.com/pub/redhat/lin...3.96-3.src.rpm
→ → libaio-0.3.96-3.src.rpm, which is the source code package.
( rpmbuild --rebuild libaio-0.3.96-3.src.rpm will provide libaio-0.3.96-3<arch>.rpm for EL 5 ).

But may be the EL 5 package will do ? ( libaio-0.3.106-5 ).
→ # yum install libaio

.

Last edited by knudfl; 05-10-2012 at 01:24 PM.
 
Old 05-10-2012, 08:02 PM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Quote:
From RedHat AS4 Disk 3
implies RHEL4 as per post #3....

Can you run the following cmds so that we can see exactly what you have
Code:
uname -a

cat /etc/*release*
 
Old 05-11-2012, 10:48 AM   #11
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
@ zXi , @ chrism01 , @ knudfl , @qlue

" Continuously i am facing failure oracle 10g installation on ORACLE Enterprise Linux. "

I could n't install LIBAIO rpm. Can anyone say what mistake i made ???? . I shared liabio package from windows to linux.


[root@dhcppc1 ~]# cd /tmp
[root@dhcppc1 tmp]# cd /mnt
[root@dhcppc1 mnt]# cd hgfs
[root@dhcppc1 hgfs]# ls -l
total 4
dr-xr-xr-x 1 root root 8192 May 11 20:27 libaio
[root@dhcppc1 hgfs]# cd libaio/
[root@dhcppc1 libaio]# rpm -ivh libaio-0.3.105-2.i386.rpm
error: open of libaio-0.3.105-2.i386.rpm failed: No such file or directory

Libaio package contains :
Quote:
[root@dhcppc1 libaio]#

[root@dhcppc1 libaio]# ls -l
total 22068
-rwxrwxrwx 1 root root 30135 May 11 09:39 10g Installation on Enterprise Linux OEL 4.docx
-rwxrwxrwx 1 root root 282 Apr 29 11:39 desktop.ini
-rwxrwxrwx 1 root root 9285 May 11 20:01 index.htm
-rwxrwxrwx 1 root root 17541 May 11 19:53 libaio-debuginfo-0.3.96-7.x86_64.rpm.html
-rwxrwxrwx 1 root root 12094 May 11 20:24 libaio-devel-0.3.106-5.i386.rpm
drwxrwxrwx 1 root root 4096 May 11 18:28 New folder
-rwxrwxrwx 1 root root 165 May 3 04:22 ~$OEL installation.pptx
-rwxrwxrwx 1 root root 44847444 May 11 19:19 Oracle Enterprise Linux 4.4 Movie.avi
-rwxrwxrwx 1 root root 267410 May 11 19:32 Untitled.png

RPM maintains a database of all installed packages in /var/lib/rpm/*

I cant check my terminal "

Regards ;
Thiyagusham.G

Last edited by thiyagusham; 05-11-2012 at 11:11 AM.
 
Old 05-11-2012, 11:10 AM   #12
zXi
LQ Newbie
 
Registered: May 2012
Posts: 28

Rep: Reputation: Disabled
Well, for one, I am unable to see libaio-0.3.105-2.i386.rpm in your ls -l. I can see devel and debug rpms for the libaio, but not libaio-0.3.105-2.i386.rpm

Also, one more thing "44847444 May 11 19:19 Oracle Enterprise Linux 4.4 Movie.avi" Must have been a good movie
 
Old 05-11-2012, 11:12 AM   #13
zXi
LQ Newbie
 
Registered: May 2012
Posts: 28

Rep: Reputation: Disabled
Ok. I am not familiar with Host Guest File System. Just Install WinSCP on your windows box and provide you linux ip in the login screen and transfer the libaio file to your /tmp dir in rhel 4 and try to do a rpm -vhi libaio*

HTH,
zXi
 
Old 05-11-2012, 11:19 AM   #14
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
@ zXi

Sorry i am not clear about your comments . I need solution that's why i posted here ... Already i mentioned Just started learning about Linux concepts.
Always i am doing my best but i hug failure ... yes .. i am learning ....

Regards ;
Thiyagusham.G
 
Old 05-11-2012, 11:23 AM   #15
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
@ zxi

I did n't notice... what i posted ... some docs related to linux that's it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
software manager not installing packages on linux mint 12 teja463 Linux - Newbie 2 03-30-2012 01:48 PM
Installing Software Packages normk39 Linux - Software 3 04-04-2011 10:55 AM
Packages & Installing software Spamdrew Slackware 4 07-03-2006 11:36 AM
Installing Software Packages / Mandrake 9.1 QUESTION sramelyk Linux - Software 0 08-16-2004 10:34 PM


All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration