Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Pretty much does the same as dpkg -l for rpm based distributions
Code:
rpm -qa
Gentoo's portage isn't natively able to list all packages it has installed (or wasn't last I had it installed) you need to install gentoolkit and if memory serves me the command is
Code:
qpkg -I
It was based off freebsd's ports system... which I don't recall the commands for right off the top of my head to list packages.
For RPM-based distros, it will take much more cpu time than the debian solution, but the output will be the same:
Code:
rpm -qa | while read package; do rpm -qi $package | head -n 1 | while read a b c; do echo -n "$c "; done; rpm -qi $package | head -n 2 | tail -n 1 | while read a b c; do echo $c; done; done
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.