1748195 Members
3306 Online
108759 Solutions
New Discussion юеВ

software list

 
SOLVED
Go to solution
Kyle D. Harris
Regular Advisor

software list

I used to work on HP-UX and there was a command that listed software installed called "swinstall" . Redhat doesn't seem to have that command. Does anybody know a command in Redhat that lists all the software installed on a particular box? Thanks.

Kyle
5 REPLIES 5
John Poff
Honored Contributor
Solution

Re: software list

Hi,

RedHat Linux uses the 'rpm' command. Try this:

rpm -qa

to list all the installed RPMs on a box. Take a look at the man page for rpm. It is powerful, and you'll need to know it to administer a RedHat system.

JP
Steven E. Protter
Exalted Contributor

Re: software list

The rpm command works just like swinstall/swlist/swremove

Accept its one command and all the options are totally different.

rpm -i packagename installs

rpm -q lets you do swlist queries

Stuff like that.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Kyle D. Harris
Regular Advisor

Re: software list

Allrighty, thanks guys!
Erich Huebner_1
Occasional Advisor

Re: software list

rpm -qa | sort > /root/packages
Caesar_3
Esteemed Contributor

Re: software list

Hello!

The swXXXX was in hp it's software ...
In RH you have rpm (RH package manager)
You use rpm -q (quiery)
And you have -a for all packages
also you can specify the package name.

Caesar