Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (16 sloc) 747 Bytes
dpkg: "Listing the Packages that are Available for Your System\r\n\
$ dpkg -l \xE2\x80\x98*emacs*\xE2\x80\x99\r\n\
Listing the Packages that are Available and uninstalled\r\n\
$ dpkg -l \xE2\x80\x98*emacs*\xE2\x80\x99 | grep \xE2\x80\x98^un\xE2\x80\x99\r\n\
List contents of a package\r\n\
$ dpkg -L emacs21\r\n\
Determining What Package Provides an Existing File \r\n\
$ dpkg --search /usr/bin/ar # which package provides the /usr/bin/ar archiving utility:\r\n\
Determining What Package Provides a Missing File\r\n\
$ ls -l /usr/lib/*power*\r\n -> ls: /usr/lib/*power*: No such file or directory\r\n\
$ apt-file search\r\n ->libpowersave-dev: usr/lib/"