Monthly Archives: March 2014

cheatsheet: looking up apt-get information

Version of a package: apt-cache policy package-name (shows installed & candidate versions) Which package owns a file: dlocate -S file-name (searches installed packages) apt-file search file-name (searches candidate packages) Which files are owned by a package: dpkg -L file-name (for installed & candidate packages)