reader@newsguy.com wrote:
Its been a good while since I used apt-get and apt-cache. I once, yrs
ago ran debian for a while.
I can't remember how to get a list of installed pkgs.
After browsing both man apt-get and apt-cache... I still didn't see a
switch that shows installed pkgs.
In addition to Tim and Larry's comments, you can search for a specific
package using familiar shell globbing as long as you enclose the glob in
single quotes, or escaping them (to avoid the shell interpretting them).
For example, to find packages names with "ssh" in them:
dpkg -l '*ssh*'
Another great command is finding out which package a file came from (you
need the full path...that's a common gotcha!):
dpkg -S /full/path/to/file
Have fun
Cheers,
James
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users