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 85: | Line 66: | ||
* https://manpages.debian.org/unstable/dpkg/dpkg.1.en.html | * https://manpages.debian.org/unstable/dpkg/dpkg.1.en.html | ||
==== installing | ==== installing the Debian package ==== | ||
<pre>$ sudo dpkg --install PACKAGE.deb</pre> | <pre>$ sudo dpkg --install PACKAGE.deb</pre> | ||
=== | === dpkg-deb === | ||
* https://manpages.debian.org/unstable/dpkg/dpkg-deb.1.en.html | * https://manpages.debian.org/unstable/dpkg/dpkg-deb.1.en.html | ||
==== which files are included? will be created from this package file? ==== | ==== which files are included? will be created from this package file? ==== | ||
Line 107: | Line 78: | ||
==== what's the official package name? ==== | ==== what's the official package name? ==== | ||
<pre>$ dpkg-deb --info PACKAGE.deb</pre> | <pre>$ dpkg-deb --info PACKAGE.deb</pre> | ||
=== dpkg-query === | === dpkg-query === | ||
Line 145: | Line 98: | ||
<pre>$ dpkg-query --listfiles PACKAGE</pre> | <pre>$ dpkg-query --listfiles PACKAGE</pre> | ||
==== | ==== which installed package includes a certain FILE (utility, ...)? ==== | ||
<pre>$ dpkg-query -- | <pre>$ dpkg-query --search FILE</pre> | ||
=== | === dpkg-deb -- Debian package archive (.deb) manipulation tool === | ||
* https://manpages.debian.org/unstable/dpkg/dpkg-deb.1.en.html | |||
'''dpkg-deb''' packs, unpacks and provides information about Debian archives. | |||
Use '''dpkg''' to install and remove packages from your system. | |||
= dpkg-source -- Debian source package (.dsc) manipulation tool = | = dpkg-source -- Debian source package (.dsc) manipulation tool = |