Teng-Yok Lee's WWW
Search this site
Welcome
Research
Navigation
Welcome
Research
Memo
Personal
Memo-migrated
>
Commonly used dpkg & apt-get options
posted
Jan 24, 2018, 6:07 PM
by Teng-Yok Lee
[ updated
Jan 2, 2021, 8:42 PM
]
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