-   Linux - Newbie (
-   -   how to find the list of installed packages? (

anand.arumug 01-05-2010 02:25 PM

how to find the list of installed packages?
I would like to know what packages are currently installed in my linux machine. My machine is running CentOS 5.4. There is no GUI. All I have is command line interface.

Thanks for your time.


mlev 01-05-2010 02:28 PM


rpm -qa | more

alunduil 01-05-2010 02:29 PM

Does CentOS still use rpm? If so you you can try: rpm -q.



knudfl 01-05-2010 02:41 PM

Saving a text file listing .. alphabetic :
rpm -qa | sort > my-packages.txt

Display the latest installed :
rpm -qa --last | less

Install info about <package-name> :
rpm -qa <package-name>
.. And / or ..
rpm -qa | grep <package-name> ( or part of name.)

anand.arumug 01-08-2010 03:43 PM

Thank you all.

kingston 01-12-2010 04:31 AM

try "rpm -qi ncurses" if ur package is ncurses
it will give the whole information about the package including the size

chrism01 01-12-2010 07:00 PM

Here's a good list of cmds, using rpm & yum:

All times are GMT -5. The time now is 12:34 AM.