LinuxQuestions.org
Visit Jeremy's Blog.
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 11-29-2003, 01:15 PM   #1
OuTKasTeD
LQ Newbie
 
Registered: Nov 2003
Location: Canada!
Distribution: Mandrake
Posts: 7

Rep: Reputation: 0
.rpm ?


Hey all, I'm very new to Linux and I'm wondering on how to extract from a .rpm. I am using Mandrake 9.2. I tried to use rpmdrake but was very unsuccessful =) If you can tell me how to extract from a .rpm in console or xwindows it would be appreciated! Thanks.
 
Old 11-29-2003, 01:37 PM   #2
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
An rpm is a complete special format collection of files. In the console, you normally
rpm -i >filename.rpm. I don't know if you can extract a single file from an RPM, never tried.

It installs the software program, however, rpmdrake is easier to use for install. What was the errors you got? Missing dependancies? Did you download the exact version needed for Mandrake 9.2? Did you accidentally download a 'src' rpm. That type won't install, it needs to be recompiled on your system, the output of which is an rpm that can be installed.

Which program is it? There are always 12 ways to do anything in Linux, and if you say I wanted xyz, but this rpm failed, 8 others can reply with 'Easy, get this rpm for xyz, works perfectly', etc, and more often than not, what you are looking for is on your Mandrake CDs.

R.O.
 
Old 11-29-2003, 01:55 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
"Unpacking" an rpm without actually using
rpm to install is a piece of cake with mc.

You just press enter (same with tarballs)
and then you can view it's contents, and
copy stuff out of it as if it were a directory
structure.


Cheers,
Tink
 
Old 11-29-2003, 01:59 PM   #4
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Curses! Curses!

You are probably the single biggest reason for my diet failing, RolledOat. Every time is see your name I make myself a nice cup of tea and eat some biscuits.

Sorry for being so totally out of subject.

Martin
*walks out to the kitchen to turn on the kettle*
 
Old 11-29-2003, 02:01 PM   #5
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Quote:
Originally posted by MartinN
You are probably the single biggest reason for my diet failing, RolledOat. Every time is see your name I make myself a nice cup of tea and eat some biscuits.
Fiber is everything. Thanks for tip Tinkster.

R.O.
 
Old 11-29-2003, 02:11 PM   #6
AxeZ
Member
 
Registered: Sep 2002
Location: Novi Sad, Vojvodina
Distribution: Slackware, FreeBSD
Posts: 386

Rep: Reputation: 32
You can do it with tar and cpio or just hit enter on a rpm in midnight commander.
 
Old 11-29-2003, 02:13 PM   #7
OuTKasTeD
LQ Newbie
 
Registered: Nov 2003
Location: Canada!
Distribution: Mandrake
Posts: 7

Original Poster
Rep: Reputation: 0
Re:

Thanks Rolled and Tinkster, I am trying to install gaim 0.74 for Mandrake 9.2 (Filename 'gaim-0.74-1.i586.rpm'. In mc it allows me to open all the other rpm files, with the exception of this one. The error it gives is 'Inconsistent extfs archive' . I got the file from 'http://gaim.jesuschrist.be/' (The one second to the bottom) It's being a real pain in the you know what =X When I tried to use rpm -i gaim-0.74-1.i586.rpm it said 'error: gaim-0.74-1.i586.rpm cannot be installed =X

*Shakes fist at gaim*
 
Old 11-29-2003, 02:36 PM   #8
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Hmmm, gaim comes standard in Mandrake 9.2. Are you sure it isn't already installed. If you did a standard desktop install, it should be there. Do you need the newer version for MSN connect? Mandrake ships with gaim 0.72.

Try this in a console

su - root
<enter roots password>
rpmquery gaim
if it is installed, and you need/want the 0.74 version, enter, in the directory where the rpm is stored,
rpm -U gaim-0.74-1.i586

If not installed, enter
rpm -i gaim-0.74-1.i586

and cut/post the errors
this will upgrade your version of gaim. Note that you must be root to install this, that is why I included that in the commands above.
 
Old 11-29-2003, 02:49 PM   #9
OuTKasTeD
LQ Newbie
 
Registered: Nov 2003
Location: Canada!
Distribution: Mandrake
Posts: 7

Original Poster
Rep: Reputation: 0
Re:

Thanks a lot for helpin me. I do have 0.68 installed. It doesn't work with MSN, so I was readin around and found the 0.74 for Mandrake so I guess I would be updating it. Here is what happened:

[root@rwork1 Desktop]# rpmquery gaim
gaim-0.68-1mdk
[root@rwork1 Desktop]# rpm -U gaim-0.74-1.i586.rpm
error: gaim-0.74-1.i586.rpm cannot be installed


I re-downloaded the file thinkin that it may have just been corrupted or somethin, same problem >_<
 
Old 11-29-2003, 03:33 PM   #10
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Well, that error you reported before 'Inconsistent extfs archive' is the clue. Googling around simply seems to show that the RPM is not valid.

Try this version....
http://rpmfind.net/linux/RPM/cooker/...1mdk.i586.html

R.O.
 
Old 11-29-2003, 04:02 PM   #11
OuTKasTeD
LQ Newbie
 
Registered: Nov 2003
Location: Canada!
Distribution: Mandrake
Posts: 7

Original Poster
Rep: Reputation: 0
Re:

It's good to be back online thanks a lot
 
Old 11-29-2003, 04:53 PM   #12
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Cool, happy trails.
R.O.
 
  


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
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 06:24 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 01:44 AM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 10:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 08:19 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 05:55 PM


All times are GMT -5. The time now is 05:48 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