2.1 Given a scenario, conduct software installations, configurations, updates, and removals Flashcards
What does the .rpm extension indicate?
An .rpm extension indicates a Red Hat package file. Red Hat package files are managed with the rpm command
What does the .deb extension indicate?
A .deb extension indicates a Debian package file. Debian package files are managed with the dpkg command
What does the .tar extension indicate?
A .tar extension indicates a file that has been created with the tar command
What does the .tgz extension indicate?
A .tgz extension indicates a file that has been created with the tar command using the option to compress with the gzip utility
What does the .gz extension indicate?
A .gz extension indicates a file that has been created with the gzip command
What is the rpm command used for?
The rpm command is useful for installing, upgrading, and removing packages that are already downloaded on your system
What command allows you to perform queries?
rpm -qa cups
What is the command to manage local Debian packages?
The syntax of the dpkg command is as follows?
dpkg [option] command
Describe the apt-get command
Use the apt-get command to manage Debian packages that are located on a repository. This command makes use of the /etc/apt/sources.list file to determine which repository to use
What does the apt-cache command do?
The apt-cache command displays package information regarding the package cache
What utility is a menu-driven tool designed to make it easy to display, add, and remove packages?
aptitude
What is the yum command used for?
The yum command is used to install software from repositories. It can also be used to remove software and display information regarding software
What yum command is used to download software packages without installing the software?
The yumdownloader command
What is the primary configuration file for yum commands?
The /etc/yum.conf file is the primary configuration file for yum commands
What tool was designed and designated as an enhancement and replacement for yum?
The DNF tool is designed as an enhancement and replacement for yum. The majority of the changes were made to the “back end” of the software. Most dnf commands work just like yum commands, only with dnf being the command name.
On the back end, the DNF tool handled dependencies better and addressed some additional YUM deficiencies (such as using older versions of Python). YUM hasn’t been completely replaced, so knowing that either command may be used is important