[Ilugc] need help : how to find whether the particular packages installed or not via terminal command

  • From: tarulalan@xxxxxxxxx (Arulalan T)
  • Date: Thu Jan 7 15:22:13 2010

Hi friends,


i have one doubt.

how can we find , whether one package is installed in our system or
not via terminal.

in synaptic , we can see the color difference between installed
packages and non-installed packages.

like wise , how can we find the difference b/w installed and non-installed
package using command ?

In terminal , [for eg]

$ apt-cache search tuxpaint

It will give the package details about tuxpaint

$ apt-get install tuxpaint

It will give result ,

if installed , -> the package tuxpaint is already installed and newest version.

if not installed -> the package size is 29MB.
...
bla bla bla bbblllabba .
...

Need to get 28.9MB of archives.
After this operation, 49.6MB of additional disk space will be used.
Do you want to continue [Y/n]?

so my question is , the alternate command to find out the particular
package is installed or not , via terminal .

i searched in net , but cant get clearly .


any one can suggest me . thanks in advance !

--




-- 
????? ,

???????? . ?


Kanchi Linux User Group Rocks !

http://kanchilug.wordpress.com

My Experiments In Linux are here

http://tuxworld.wordpress.com

????? ????????? !

Other related posts: