Skip to content
Snippets Groups Projects
Commit a3b886b6 authored by Claude Becker's avatar Claude Becker
Browse files

notes_on_linux_package_management: apt-file

parent 6bf57f40
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,16 @@
* [[Debian Version Numbers]]
===== apt-file : list or search package contents =====
''apt-file'' allows to find the packages that provide a given file, or list all files included in a package.
<code>
apt-file update # update the local database of package contents
apt-file search /usr/bin/htop # list all packages providing the given file
apt-file list htop # list all files contained in the given package
</code>
===== apt-cache policy =====
''apt-cache policy <packagename>'' provides information about the selection process of the package versions available for installation.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment