Use Debian package management Flashcards
Are Debian and RPM packages interchangeable?
No
What does i386.deb signify?
A Debian 386 package
What does all.deb signify?
A Debain package for all CPU types
What dpkg command is used to install a Debian package?
dpkg -i or –install
What is the difference between –remove and –purge?
Purge removes a package as well as the configuration files.
What dpkg command displays information about an uninstalled Debian package?
dpkg -I or –info
What dpkg command displays information about an installed Debian package?
dpkg -p –print-avail
What tool solely shows information about the Debian package database?
apt-cache
What apt-cache command displays package information?
apt-cache showpkg package_name
What apt-cache command displays package stats?
apt-cache stats
What apt-cache command displays package dependencies?
apt-cache depends package_name
What apt-cache command displays all packages?
apt-cache pkgnames xxx
Where is the file which lists where packages can be obtained?
/etc/apt/sources.list
What apt-get command will get up to date information about any new packages available?
apt-get update
What apt-get command will upgrade the Linux distribution?
apt-get dist-upgrade
What apt-get command will upgrade the installed packages?
apt-get upgrade
What command launches a text based menu system for packages?
dselect or aptitude
Which text based menu system for packages also accepts commands?
aptitude
What command will reset a package back to its original installation?
dpkg-reconfigure package_name
Which directory is effectively the Debian package database?
/var/lib/dpkg