[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A basic apt-get question...



* Russell <rg200@hermes.cam.ac.uk> (2001-07-10 10:00):
> or at least I assume it's about apt-get. I just want to know if a
> particular package is installed on my system, and I can't seem to find
> that kind of option in the man pages for apt-get, dpkg or dselect.
> 
> Is there something like "apt-get --is-it-installed packagename" ?

I'd use "dpkg -l $foo", but you could also try "dpkg -s $foo" or even
"dpkg -S $foo" if you're looking for a specific filename....

man dpkg probably gives even more options, have a look.

Cheers,
Sean

-- 
Sean Quinlan (smq@gmx.co.uk)



Reply to: