View previous topic :: View next topic |
Author |
Message |
shrndegruv l33t
Joined: 18 Sep 2005 Posts: 658
|
Posted: Tue May 16, 2006 8:19 pm Post subject: rpm [SOLVED] |
|
|
Maybe wrong forum to ask this, but how do I view the contents of an rpm, and where the files will go on install? I dont see anything in the man page...
Last edited by shrndegruv on Wed May 17, 2006 1:42 pm; edited 1 time in total |
|
Back to top |
|
|
Fabiolla Apprentice
Joined: 04 Mar 2004 Posts: 277 Location: somewhere
|
Posted: Tue May 16, 2006 9:46 pm Post subject: |
|
|
Hi,
don't know about a 'viewer' for rpm's, but you can convert a rpm to a targz with rpm2targz (is in portage).
If you decompress the targz you see the folderstructure (and where the files will be installed).
greetings |
|
Back to top |
|
|
yoshi314 l33t
Joined: 30 Dec 2004 Posts: 850 Location: PL
|
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Tue May 16, 2006 10:30 pm Post subject: |
|
|
You can install rpm, then list the contents with it: Code: | $ rpm -qpl /path/to/foo-version.arch.dist.rpm |
_________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
shrndegruv l33t
Joined: 18 Sep 2005 Posts: 658
|
Posted: Tue May 16, 2006 11:04 pm Post subject: |
|
|
well the point is to know what is in the rpm BEFORE installing
theres gotta be a way to list the contents of an rpm directly. |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Wed May 17, 2006 12:14 am Post subject: |
|
|
shrndegruv wrote: | well the point is to know what is in the rpm BEFORE installing
theres gotta be a way to list the contents of an rpm directly. | There is. However, you need the rpm command line tool to do it. You do not need to install the actual packaged-RPM file though. _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
shrndegruv l33t
Joined: 18 Sep 2005 Posts: 658
|
Posted: Wed May 17, 2006 12:59 am Post subject: |
|
|
I have rpm on the system. whats teh command!!?? Thanx in advance. |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Wed May 17, 2006 1:05 am Post subject: |
|
|
shrndegruv wrote: | I have rpm on the system. whats teh command!!?? Thanx in advance. |
codergeek42 wrote: | You can install rpm, then list the contents with it: Code: | $ rpm -qpl /path/to/foo-version.arch.dist.rpm |
| Hope that helps. _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
shrndegruv l33t
Joined: 18 Sep 2005 Posts: 658
|
Posted: Wed May 17, 2006 1:33 am Post subject: |
|
|
oh i misunderstood your previous post -- so there is no way to do it without installing the package? |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Wed May 17, 2006 1:58 am Post subject: |
|
|
shrndegruv wrote: | oh i misunderstood your previous post -- so there is no way to do it without installing the package? | Yes, there is. To list the contents without installing the package: Code: | # emerge rpm
$ rpm -qpl /path/to/package.rpm | You will need to install the rpm tool but not the actual package that is in RPM format. _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
shrndegruv l33t
Joined: 18 Sep 2005 Posts: 658
|
Posted: Wed May 17, 2006 1:43 pm Post subject: |
|
|
thanx |
|
Back to top |
|
|
|