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! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-05-2010, 01:25 PM
|
#1
|
Member
Registered: Oct 2009
Location: Dayton, Ohio
Distribution: ubuntu, centos
Posts: 68
Rep:
|
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.
cheers...
|
|
|
01-05-2010, 01:28 PM
|
#2
|
LQ Newbie
Registered: Dec 2009
Posts: 10
Rep:
|
try
rpm -qa | more
|
|
|
01-05-2010, 01:29 PM
|
#3
|
Member
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684
Rep:
|
Does CentOS still use rpm? If so you you can try: rpm -q.
Regards,
Alunduil
|
|
|
01-05-2010, 01:41 PM
|
#4
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
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.)
.....
|
|
|
01-08-2010, 02:43 PM
|
#5
|
Member
Registered: Oct 2009
Location: Dayton, Ohio
Distribution: ubuntu, centos
Posts: 68
Original Poster
Rep:
|
Thank you all.
|
|
|
01-12-2010, 03:31 AM
|
#6
|
Member
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Rep:
|
try "rpm -qi ncurses" if ur package is ncurses
it will give the whole information about the package including the size
|
|
|
All times are GMT -5. The time now is 05:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|