Use Debian Package Management Flashcards
How does apt (Advanced Package Tool) work
Reads the /etc/apt/source.list
Directs installation and uninstallation of packages dpkg
What is stored in /etc/apt/sorces.list
configuration file that lists out repository locations for packages
What does the apt-get update command do
updates the local apt cache with a listing of packages that can be updated/upgraded and installed
what does the command apt-get install
upgrades the packages that have upgrades avallable
What does the command apt-get install do
installs a package from the repositories in the sources.list file
What does the command apt-get remove
removes a package from the system but any config files that came with the package will be left behind
what does the command apt-get purge command do
removes the package from the system and any associated config files
what does the command apt-get dist-upgrade do
upgrades all packages on the system up to the next release of the distribution
what does the command apt-get download do
downloads the package (does not install it)
What does the command apt-cache search do
searches through your local apt cache for a package that can be installed
what does the command apt-cache show do
lists out basic info about a package
what does the command apt-cache showpkg
display more technical info about a package
What does the.deb package contain
application or utility
default configuration files
how and where to install the files that come with the package
listing of dependencies the package requires
what download manager handles dependecies along with the download
apt does dpkg doesnt
what does the command dpkg –info do
Displays info on a package
what does the command dpkg –status
Same as –info, but less detail
What does the command dpkg -l
Lists out packages that match the strong provided
what does the command dpkg -i do
installs specified packages
what does the command dpkg -L
Lists out all files that were installed with a specified package
what does the command dpkg-r command do
Removes a specified package but leaves the config files behind
what does the command dpkg -P
Removes a specified package and also any config files that were installed with it
What does the command dpkg -S do
Searched through the package database for a file specified and lists out any mentions of the specified file or sting
what does the command dpkg-reconfigure do
Allows for the mdofication of a package by re-running the application config tool