LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Viewing Installed software Files.. (http://www.linuxquestions.org/questions/linux-newbie-8/viewing-installed-software-files-150383/)

Anup Kumar 02-25-2004 01:10 PM

Viewing Installed software Files..
 
Hi,
I want to view all the installed software files but "pkgtool" and "setup"
is not working. I'm working on Red Hat 7.2.
Please help me.
My id is anup2kin@yahoo.co.in

Tinkster 02-25-2004 01:24 PM

rpm -qa


Cheers,
Tink

Redeye2 02-25-2004 03:26 PM

Although what tinkster stated is correct, that will just produce a bunch of names in almost no time to read.
You can type:
rpm -qa | grep «string» = looks for the string you specify (without «») within the installed packages. For examples: rpm -qa | grep libstdc++ , lists any installed package that contains the string libstdc++ .
rpm -qa | more = lists all the files but pauses each time your screen is filled. By pressing enter you advace one line, space bar you advance one page and by pressing q you quit at any time.
BTW, using the | is called piping. It's sending the output from one program (in this case rpm -qa) to another one that filters it. There are a lot of combinations as you might suppose.
Hope that helps :D


All times are GMT -5. The time now is 03:01 PM.