Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rpm [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
shrndegruv
l33t
l33t


Joined: 18 Sep 2005
Posts: 658

PostPosted: Tue May 16, 2006 8:19 pm    Post subject: rpm [SOLVED] Reply with quote

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
View user's profile Send private message
Fabiolla
Apprentice
Apprentice


Joined: 04 Mar 2004
Posts: 277
Location: somewhere

PostPosted: Tue May 16, 2006 9:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
yoshi314
l33t
l33t


Joined: 30 Dec 2004
Posts: 850
Location: PL

PostPosted: Tue May 16, 2006 9:56 pm    Post subject: Reply with quote

if you are lazy install rpm package and you can view .rpms' contents using mc.
_________________
~amd64
shrink your /usr/portage with squashfs+aufs
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Tue May 16, 2006 10:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
shrndegruv
l33t
l33t


Joined: 18 Sep 2005
Posts: 658

PostPosted: Tue May 16, 2006 11:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Wed May 17, 2006 12:14 am    Post subject: Reply with quote

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
View user's profile Send private message
shrndegruv
l33t
l33t


Joined: 18 Sep 2005
Posts: 658

PostPosted: Wed May 17, 2006 12:59 am    Post subject: Reply with quote

I have rpm on the system. whats teh command!!?? Thanx in advance.
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Wed May 17, 2006 1:05 am    Post subject: Reply with quote

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
View user's profile Send private message
shrndegruv
l33t
l33t


Joined: 18 Sep 2005
Posts: 658

PostPosted: Wed May 17, 2006 1:33 am    Post subject: Reply with quote

oh i misunderstood your previous post -- so there is no way to do it without installing the package?
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Wed May 17, 2006 1:58 am    Post subject: Reply with quote

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
View user's profile Send private message
shrndegruv
l33t
l33t


Joined: 18 Sep 2005
Posts: 658

PostPosted: Wed May 17, 2006 1:43 pm    Post subject: Reply with quote

thanx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum