Editing Debian package management
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== APT == | == APT == | ||
Line 15: | Line 10: | ||
* https://manpages.debian.org/unstable/apt/apt-cache.8.en.html | * https://manpages.debian.org/unstable/apt/apt-cache.8.en.html | ||
=== apt-get -- APT package handling utility -- command-line interface === | === apt-get -- APT package handling utility -- command-line interface === | ||
Line 35: | Line 19: | ||
<pre>$ sudo apt-get update</pre> | <pre>$ sudo apt-get update</pre> | ||
=== APT: installing ... === | |||
<pre> | <pre> | ||
$ sudo apt-get install PACKAGE | $ sudo apt-get install PACKAGE | ||
Line 46: | Line 30: | ||
# just download it to the cache directory being specified (instead of /var/cache/apt/archives/): | # just download it to the cache directory being specified (instead of /var/cache/apt/archives/): | ||
$ sudo apt-get install --download-only --option dir::cache=$HOME/tmp PACKAGE | $ sudo apt-get install --download-only --option dir::cache=$HOME/tmp PACKAGE | ||
</pre> | </pre> | ||
Line 57: | Line 38: | ||
</pre> | </pre> | ||
=== APT: removing ... === | |||
<pre> | <pre> | ||
$ sudo apt-get remove PACKAGE | $ sudo apt-get remove PACKAGE | ||
Line 87: | Line 68: | ||
==== installing a Debian package ==== | ==== installing a Debian package ==== | ||
<pre>$ sudo dpkg --install PACKAGE.deb</pre> | <pre>$ sudo dpkg --install PACKAGE.deb</pre> | ||
=== dpkg-deb -- Debian package archive (.deb) manipulation tool === | === dpkg-deb -- Debian package archive (.deb) manipulation tool === | ||
Line 144: | Line 119: | ||
==== what's the content of an installed package (e.g. PACKAGE) ==== | ==== what's the content of an installed package (e.g. PACKAGE) ==== | ||
<pre>$ dpkg-query --listfiles PACKAGE</pre> | <pre>$ dpkg-query --listfiles PACKAGE</pre> | ||
==== which installed package includes a certain FILE (utility, ...)? ==== | ==== which installed package includes a certain FILE (utility, ...)? ==== | ||
<pre>$ dpkg-query --search FILE</pre> | <pre>$ dpkg-query --search FILE</pre> | ||
= dpkg-source -- Debian source package (.dsc) manipulation tool = | = dpkg-source -- Debian source package (.dsc) manipulation tool = |