Re: apt-get listing?
--- Michael Z Daryabeygi <email@example.com> wrote:
> does apt-cache show packages available from your sources list or
> packages that have been downloaded?
They show both.
If you want a quickish way of determining if a package is installed
(there's lots of ways one can do this), you can do:
$ apt-cache policy <pkgname> | grep Installed
$ apt-cache policy fvwm | grep Installed
$ apt-cache policy kde | grep Installed
-- Thomas Adam
"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor" -- http://linuxgazette.net
"<shrug> We'll just save up your sins, Thomas, and punish
you for all of them at once when you get better. The
experience will probably kill you. :)"
-- Benjamin A. Okopnik (Linux Gazette Technical Editor)
Send instant messages to your online friends http://uk.messenger.yahoo.com