- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- how to list rpm installed
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2007 05:50 PM
тАО08-24-2007 05:50 PM
how to list rpm installed
I would like to ask how to list installed rpm's in linux and its version. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2007 02:14 AM
тАО08-25-2007 02:14 AM
Re: how to list rpm installed
will list all the installed rpms
you can filter the output using grep
rpm -qa | grep -i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2007 10:27 AM
тАО08-25-2007 10:27 AM
Re: how to list rpm installed
rpm -qa does list all rpm's and versions. It doe not list all software as there are other means of installing on linux, including compile your own.
rpm has many useful functions. the man page comes highly recommended.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2007 05:55 PM
тАО08-25-2007 05:55 PM
Re: how to list rpm installed
Is there a way by which we can find all the softwares installed, I don't know of any method to list the softwares which are installed by compilation ( configure , make , make install series).
I remember installing a lot of them ab keep on adding to the list almost daily but I dun have any record of what I have installed(In case I want to free up some disk space).
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2007 03:24 PM
тАО08-26-2007 03:24 PM
Re: how to list rpm installed
# man rpm
--last Orders the package listing by install time such
that the latest packages are at the top
Example:
# rpm -qa --last
openoffice.org-kde-1.1.2-28.6.0.EL4 Sun 18 Dec 2005 02:52:42 PM
openoffice.org-1.1.2-28.6.0.EL4 Sun 18 Dec 2005 02:52:33 PM
openoffice.org-libs-1.1.2-28.6.0.EL4 Sun 18 Dec 2005 02:52:19 PM
You could use above command to check when the Software was installed.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-26-2007 04:45 PM
тАО08-26-2007 04:45 PM
Re: how to list rpm installed
rpm -qa
lists all installed packages with version.
rpm -qa -i
lists all information about installed rpm packages.
-i, --info
Display package information, including name, version, and description.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2007 10:09 PM
тАО08-30-2007 10:09 PM
Re: how to list rpm installed
rpm -qa | grep openoffice | xargs rpm -ev
which essentially uninstalls all openoffice packages.
xargs is really great for several uses as it parses the list and sends it as arguments to another command. I also used it to empty a directory which contained 250 000 files. This made the rm command crash. Using something like
ls | xargs rm -f
or delete all files called
find /tmp -name core -type f -print | xargs /bin/rm -f
emptied the directory.
But guys - back to the listing question from Pando. Is there a way to list all packages using yum?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2007 08:06 AM
тАО09-12-2007 08:06 AM
Re: how to list rpm installed
[me@myBOX ~]$ rpmquery xmms
xmms-1.2.10-14.el5.rf