102.4 Use Debian package management Flashcards
What does apt mean?
Advanced Package Tool
What distros of Linux use apt?
Debian based distros
What is apt used for?
To install applications and their dependencies.
To remove applications
To update/upgrade packages
What does the /etc/apt/sources.list file contain?
It contains URL listings for all software repositories that you can install software from
What is the command to update the local apt cache with a listing of packages that can be updated and installed?
apt-get update
What is the command that upgrades the packages that have upgrades available?
apt-get upgrade
What is a difference between apt and dpkg regarding dependencies?
The apt tool handles dependencies for you, the dpkg does not.
What is the command that removes an application in a Debian based system?
apt-get remove packagename
Does apt remove an application and the dependencies and configuration files of the application?
No, it will only remove the app itself.
What is the command that removes an application’s packages that are no longer needed in a Debian based system?
apt autoremove
What is the command that removes an application’s config files in a Debian based system?
apt-get purge packagename
What is the command that upgrades all packages on the system up to the next release of the distribution?
apt-get dist-upgrade
What is the command that downloads a package but doesn’t install it in a Debian based system?
apt-get download packagename
What is the command that searches through your local apt cache for a package that can be installed?
apt-cache search
What is the command that provides more technical information about a package?
apt-cache showpkg packagename