Memo‎ > ‎

Commonly used dpkg & apt-get options

posted Jan 24, 2018, 6:07 PM by Teng-Yok Lee   [ updated May 29, 2019, 8:51 AM ]
List the versions of a package:
$ apt -a list <package>

Given a file path, query the belonging package (REF):
$ dpkg -S <filepath>

Query files in a package:
$ dpkg -L <package>

List install packages (REF):
$ apt list --installed

Comments