Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-19-2003, 01:17 PM   #1
LQ Newbie
Registered: Jul 2003
Posts: 5

Rep: Reputation: 0
RPM package manual

Is there a manual or reference that tells you what type of program a package contains?
Old 07-19-2003, 01:19 PM   #2
LQ Guru
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
All you ever wanted to know about RPM but were afraid to ask: Maximum RPM

# See rpms installed on current system
rpmquery --all | more
rpmquery --all > <filename>
rpmquery --all | grep -i <plaintext>

If you want to extract and examine them, I like using Midnight Commander.
An Introduction to the Midnight Commander
Midnight Commander home page

Last edited by fancypiper; 07-19-2003 at 01:22 PM.
Old 07-19-2003, 01:21 PM   #3
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
If you want to know before you install it try:
rpm -qpi package.rpm

to see what files are in it:
rpm -qpl package.rpm
Old 07-19-2003, 01:21 PM   #4
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
To query a rpm file use:
rpm -qf filename
i.e. rpm -qf /home/user/whatsis/glibc-2.2.5-14.i386.rpm

To query an installed package use:
rpm -qi packagename
i.e. rpm -qi glibc


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
Install a package: Manual Install (Mandrake 10.0) kobayashy Linux - Newbie 11 01-11-2006 06:26 PM
not appear to be a RPM package! me99 Linux - Software 3 03-18-2004 08:11 PM
Manual RPM Updates BxBoy Red Hat 9 03-12-2004 10:33 PM
can reinstall the rpm package without delete the rpm package eye Red Hat 1 10-20-2003 07:53 AM
manual rpm remove adenardo Linux - Software 9 12-04-2002 03:45 PM > Forums > Linux Forums > Linux - Newbie

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

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