notes:aptdpkg
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
/etc/apt/sources.list(d) : sources-list(type,http,ftp,file,version,tree) file and directory for more than one file
apt-proxy and apt-cacher as local package-distributor
dpkg-reconfigure paketname : call again post installation routine for paketname
/var/cache/debconf/config.dat : package database as text file
dpkg -l : list all installed packages with version number description and installations status
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)
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
-
notes/aptdpkg.txt · Last modified: 2019/03/27 12:22 (external edit)