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
match meta-packaging tools with their corresponding distributions: apt debian yum rpm
2-68
apt - debian
yum - rpm
why is it not a good idea to upgrade all packages on your system automatically by using APT?
2-70
because you’re effectively giving control of your computer to the distribution maintainer
what is dselect?
2-72
a high level package browser
how do you get the alien utility?
2-75
apt-get install alien
which version of the c library does linux use?
2-81
the GNU C library
what is a dll?
2-82
dynamic link library
what are the 2 trusted library directories?
2-84
/lib and /usr/lib
what is the syntax for ps?
2-89
ps options
what does the top command show?
2-93
system summary information and information about the most cpu-intensive processes on a computer
what is the syntax for kill?
2-97
kill -s signal pid