Chapter 2 - Managing Software Flashcards
what are the two major Linux package management tools?
2-48
RPM Package Manager
Debian
what are checksums used for?
2-49
to verify the validity of the installed software
true/false: rpm packages are compatible with debian-based systems
2-49
false
true/false: rpm supports ANY cpu architecture
2-50
true
what is the convention for naming rpm packages?
2-51
package name version number architecture.rpm
common rpm operations:
- i
- U
- F or –freshen
- q
- V or –verify
- e
- b
- -rebuild
- -rebuilddb
2-53
installs a package
installs a new package or upgrades existing one
upgrades a package only if an earlier version already exists
queries a package
verifies a package has unchanged since installation
uninstalls a package
builds a binary package by using source code and configuration files
builds a binary package by using a source RPM file
rebuilds the rpm database to fix errors
which command do you use to verify that the package installed?
2-55
rpm -qi
how would you create a cpio archive file?
2-56
redirect the output by using rpm2cpio
what is yum?
2-57
a meta-packager that enables you to install a package and all its dependencies easily using a single command line
tell me the syntax of the yum command
2-57
yum options command package
you are using yum. you want to obtain a package but don’t want to install it. what do you do?
2-59
use the yumdownloader
what is the main rpm configuration file?
2-61
/usr/lib/rpm/rpmrc
why are rpm and debian packages not interchangeable?
2-63
because their database formats are different
what is the syntax for installing a debian package?
2-64
dpkg [options] [action] [package-files | package-name]
what is the apt-cache for?
2-67
provide information about the debian package database