Brainscape_YUM_Flash_Cards_CSV Flashcards
What package format does Debian use?
.deb
What package format does Ubuntu use?
.deb
What package format does CentOS use?
.rpm
What package format does Fedora use?
.rpm
What are four popular package management tools used by Debian and Ubuntu?
- apt 2. apt-cache 3. apt-get 4. dkpk
What package management tools does CentOS and RHEL use?
Yum
What package management tools does Fedora use?
dnf
What does APT stand for?
Advanced Packaging Tool
What utility does APT “front-end”?
dpkg
What utility actually does the installation of the .deb files?
dpkg
How is the apt command different than the apt-get or apt-cache commands?
The ‘apt’ command offers a unified interface that can replace both the apt-get and apt-cache commands.
What packaging system is DNF a ‘fork’ of?
Yum
What is the command syntax to update the package list on Debian or Ubuntu?
sudo apt-get update
What is the command syntax to update the package list on CentOS and RHEL?
yum check-update
What is the command syntax to update the package list on Fedora?
dnf check-update
What are two commands to upgrade installed packages (on Debian-based system), where possible?
sudo apt-get upgrade or sudo apt upgrade
What are two commands to upgrade installed packages and add or remove packages to satisfy new dependences (on Debian-based system)?
sudo apt-get dist-upgrade or sudo apt full-upgrade
What is the command to upgrade installed packages on RHEL-based systems?
sudo yum update
What is the command to upgrade installed packages on Fedora systems?
sudo dnf upgrade
What are two commands to search for packages on Debian-based systems?
apt-cache search [search string] or apt search [search string]
What is the command to search for a package on CentOS?
yum search [search string]
What is the command to search ALL fields (including description) on CentOS?
yum search all [search string]
What is the command to search for a package on Fedora?
dnf search [search string]
What is the command to search ALL fields (including description) on Fedora?
dns search all [search string]
What are the two commands to show locally-cached info about a package on a Debian-based system?
apt-cache show [package] or apt show [package]
What is the command to show the current installed status of a package on a Debian-based system?
dpkg -s [package]
What is the command to show information about a package that is either installed or in a repo on CentOS?
yum info [package]
What is the command to list the dependencies of a package on CentOS?
yum deplist [package]
What is the command to show information about a package that is either installed or in a repo on Fedora?
dnf info [package]
What is the command to list the dependencies of a package on Fedora?
dnf repoquery –requires [package]
What are two commands to install packages on a Debian-based system?
sudo apt-get install [package] or sudo apt install [package]
What are two commands to install more than one package at a time on a Debian-based system?
sudo apt-get install [package1] [package2] or apt install [package1] [package2]
What is the command to install a package on a Debian-based system without being prompted to approve the installation?
sudo apt-get install -y [package] or sudo apt install -y [package]
What is the command to install a package on a Debian-based system so it will show a colored progress bar?
sudo apt install [package]
What is the command to install a package on CentOS?
sudo yum install [package]
What is the command to install more than one package at a time on CentOS?
sudo yum install [package1] [package2]
What is the command to install a package on CentOS without being prompted for approval?
sudo yum install -y [package]
What is the command to install a package on Fedora?
sudo dnf install [package]
What is the command to install more than one package at a time on Fedora?
sudo dnf install [package1] [package2]
What is the command to install a package on Fedora without being prompted for approval?
sudo dnf install -y [package]