User Tools

Site Tools


notes:aptdpkg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
notes:aptdpkg [2009/03/02 22:20]
render
notes:aptdpkg [2019/03/27 12:22] (current)
Line 1: Line 1:
   * apt-cache search STRING : searches for STRING in dpkg-database in package-names AND descriptions,​ searches in /​var/​lib/​dpkg/​available   * apt-cache search STRING : searches for STRING in dpkg-database in package-names AND descriptions,​ searches in /​var/​lib/​dpkg/​available
 +  * /​var/​cache/​apt/​archives : all packages are archived there, can be deleted
   * apt-cache show paketname : as rpm -qi it shows package-info   * apt-cache show paketname : as rpm -qi it shows package-info
   * /​etc/​apt/​sources.list(d) : sources-list(type,​http,​ftp,​file,​version,​tree) file and directory for more than one file   * /​etc/​apt/​sources.list(d) : sources-list(type,​http,​ftp,​file,​version,​tree) file and directory for more than one file
Line 8: Line 9:
   * dpkg -L paketname : list files installed by paketname   * dpkg -L paketname : list files installed by paketname
   * dpkg --get-selections (or set-selections) : give a list of all installed package names (Note: it selects but not installs)   * dpkg --get-selections (or set-selections) : give a list of all installed package names (Note: it selects but not installs)
 +  * apt-get remove paketname : removes package, but leaves the configuration files
 +  * apt-get purge paketname : removes package AND configuration files
 +  * dpkg -i paketname.deb : install local deb-package
 +  * [[http://​www.debian.org/​doc/​]]
notes/aptdpkg.1236028830.txt.gz ยท Last modified: 2019/03/27 12:23 (external edit)