Chapter 11 Flashcards
Which of the following commands can be used to search for packages that contain the word oobla on RPM software repositories?
a. yum list oobla
b. yum search oobla
c. rpm -qS oobla
d. rpm -ql oobla
yum search oobla
Which one is NOT a Linux compression tool?
Group of answer choices
- bzip2 / bunzip2
- compress / uncompress
- xz / unxz
- zap / unzap
zap / unzap
Which one is NOT a typical step involved in compiling and installing software on Linux?
Group of answer choices
- Run “make” shell script
- Run “install” shell script
- Run “configure” shell script
- Run “make install” shell script
Run “install” shell script
dnf resolves package dependencies automatically.
Correct!
True
False
True
Which commands can you use or could you have used to install a package on Fedora? (Select three)
- dnf
- fed
- rpm
- yum
- dnf
- rpm
- yum
Which methods describe a typical Linux software installation process? (Select two)
- Download an executable and let the installer extract and install
- Download a tarball, and manually extract, compile, and install
- Download a package and let the package manager extract and install.
- Download an image and let the installer extract and install
- Download a tarball, and manually extract, compile, and install
- Download a package and let the package manager extract and install.
Which one is NOT a Linux backup tool?
- tar
- cpioCo
- ee
- dump / restore
ee
Which one is NOT a typical program used on a Linux server to download a tarball?
- curl
- firefox
- ftp or sftp
- wget
firefox
What is a shared library? (Select two)
- A binary file that contains function calls that are used by multiple applications
- Has the .sl extension
- Placed under /lib/ or /lib64/ directory typically
- Unique to Linux which is not found in Windows OS
A binary file that contains function calls that are used by multiple applications
Placed under /lib/ or /lib64/ directory typically
Which commands can you use or could you have used to install a package on Ubuntu? (Select all that apply)
Correct!
apt
aptitude
apt-get
dpkg
apt
aptitude
apt-get
dpkg
Which command is used to extract the tarball?
- tar -extf gimp-2.10.14.tar.gz
- tar -exvf gimp-2.10.14.tar.gz
- tar -zcvf gimp-2.10.14.tar.gz
- tar -zxvf gimp-2.10.14.tar.gz
tar -zxvf gimp-2.10.14.tar.gz
Which option to the dpkg command can be used to list the files that comprise a package?
- l
- L
- s
- i
-L
When compiling source code into a binary program, which command does the compiling using the GNU C Compiler?
tar
./configure
make
make install
make
You have created a full backup and four incremental backups. In which order must you restore these backups?
0, 1, 2, 3, 4
0, 4, 3, 2, 1
4, 3, 2, 1, 0
1, 2, 3, 4, 0
0, 1, 2, 3, 4
The bzip2 and gzip utilities use similar compression algorithms.
True
False
True
Which of the following command can be used to display the package to which the specified file belongs in RPM?
rpm -a
rpm –F
rpm -qf
rpm -ql
rpm -qf
Which dump level indicates a full backup?
0
9
1
f
0
Files that have been compressed using the xz utility typically have the ______ extension.
.zip
.gz
.xz
.bz2
.xz
Which filename extension indicates a tarball?
.tar.xz
.cpio
.dump
.tar
.tar.xz
Which command can be used to create an image backup of a partition?
tar
dd
dump
cpio
dd
Which of the following commands creates a zipped archive?
tar –cvf /dev/st0
tar –xvf /dev/st0
tar –tvf /dev/st0
tar –zcvf /dev/st0 *
tar –zcvf /dev/st0 *
To install a new program from RPM software repositories on the Internet, you can use the dnf update programname command.
True
False
False
Which of the following commands can be used to remove the test DPM package, including any test configuration files?
dpkg remove test
apt remove test
dpkg purge test
apt purge test
apt purge test
When compiling source code into a binary program, which command performs a system check and creates the Makefile?
tar
./configure
make
make install
./configure
Which of the following commands can be used to list the files contained within an installed RPM package?
rpm –qa packagename
rpm –qi packagename
rpm –ql packagename
rpm –q packagename
rpm –ql packagename
Which of the following commands should be run following the installation of a shared library to update the /etc/ld.so.conf and /etc/ld.so.cache files?
ldd
updatedb
ldconfig
dpkg-reconfigure
ldconfig
Which of the following commands extracts an archive?
cpio –vocBL /dev/fd0
cpio –vicdu –I /dev/fd0
cpio –vicdu –O /dev/fd0
cpio –vti –I /dev/fd0
cpio –vicdu –I /dev/fd0
The Debian Package Manager (DPM) is the default package manager used by Fedora 28.
True
False
False
Most source code is typically available on the Internet in tarball format or as a git repository. True or False?
True
False
True
The -9 option to the gzip utility results in a higher compression ratio.
True
False
True
Which option to the rpm command can be used to remove a package from the system?
- r
- e
- u
- U
-e
Which statements are true regarding packages and package mangers. (Select two)
Red Hat Package has the extension of .rpm
Debian Package has the extension of .dpm
rpm is the command to run Red Hat Package Manager
dpm is the command to run Debian Package Manager
Red Hat Package has the extension of .rpm
rpm is the command to run Red Hat Package Manager
Incremental backups back up the data that has been changed since the last full backup.
True
False
FALSE