LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   How to find if package is installed (http://www.linuxquestions.org/questions/ubuntu-63/how-to-find-if-package-is-installed-521887/)

Redbone981sl 01-22-2007 10:10 PM

How to find if package is installed
 
how can I find if a package is installed in ubuntu? In Fedorta I type rpm -q (program). Whats the command in Ubunto?
Thanks

nilleso 01-22-2007 11:47 PM

`dpkg -l` works

cheers:)

nilleso 01-22-2007 11:49 PM

dpkg -l ... example output:

Code:

er:~$ dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name          Version        Description
+++-==============-==============-============================================
ii  abiword        2.4.5-0ubuntu2 WYSIWYG word processor based on GTK2
ii  abiword-common 2.4.5-0ubuntu2 WYSIWYG word processor based on GTK2
ii  abiword-plugin 2.4.5-0ubuntu2 plugins for AbiWord
ii  acpi          0.09-1        displays information on ACPI devices
ii  acpi-support  0.90          a collection of useful events for acpi
ii  acpid          1.0.4-5ubuntu4 Utilities for using ACPI power management
ii  acroread      7.0.8-0.0.ubun Adobe Acrobat Reader: Portable Document Form
ii  acroread-escri 7.0.8-0.0.ubun Adobe EScript Plug-In
ii  acroread-plugi 7.0.8-0.0.ubun Plugins for Adobe Acrobat(R) Reader
ii  adduser        3.92          Add and remove users and groups
ii  alien          8.64          install non-native


hansalfredche 01-23-2007 09:40 AM

Either by doing what nilleso writes or using the GUI search function ...

Redbone981sl 01-23-2007 07:03 PM

Thanks
 
Thank You. That helps


All times are GMT -5. The time now is 04:36 PM.