1.- Using rpm on a Red Hat Enterprise Linux system,
how would you install the package
file-roller-3.28.1-2.el7.x86_64.rpm showing a
progress bar during the installation?
rpm -ih file-roller-3.28.1-2.el7.x86_64.rpm
2.- Using rpm, find out which
package contains the file
/etc/redhat-release
rpm -qf /etc/redhat-release
3.- How would you use yum to
check for updates for all
packages in the system?
yum check-update
4.- Using zypper, how would
you disable a repository called
repo-extras?
zipper modifyrepo -d repo-extras
5.- If you have a .repo file describing a
new repository, where this file
should be put so that it is
recognized by DNF?
.repo files for DNF should be put on the
same place used by YUM, inside
/etc/yum.repos.d/
Preguntas y
Respuestas
exploratorias
6.- How would you use zypper to
find out which package owns
the file /usr/sbin/swapon?
zipper se --provides /usr/sbin/swapon
7.-How can you get a list of all
installed packages in the system
using dnf?
dnf list --installed
8.- Using dnf, what is the command to add a
repository located at URL
dnf config-manager --add_repo URL
9.- How can you use zypper to
check if the package unzip
is installed?
zypper se -i unzip
10.- Using yum, find out which
package provides the file
/bin/wget