How can I check in the terminal if a package is already installed? |
If you know the exact package name or would like detailed information, you can use the -s flag to dpkg to report the status of the package:
If you don't know the exact package name or would like summary information, you can use the -l flag to dpkg:
--jeremy |
? You did'nt specify the system ; on a RPM-based system, like Red Hat Enterprise / Mandriva / Fedora / Linux / Cent OS, you can
On a debian-based system like Ubuntu
On an archlinux system
Oh, and on a bsd box you may :
While no package management system was in the description, he did tag the question with apt. I'm going to add the dpkg tag now. --jeremy
(06 Jun '11, 11:38)
jeremy ♦♦
|