Use RPM and YUM package management Flashcards
What RPM switch intalls a package?
-i
What RPM switch installs a new package or upgrades an existing one?
-U
What RPM switch upgrades a package only if an earlier version exisits?
-F –freshen
What RPM switch queries a package, is it installed etc?
-q
What RPM switch uninstalls a package?
-e
What RPM switch builds a binary package given source code and configuration files?
-b
What RPM switch builds a binary package given a source RPM flle?
–rebuild
What RPM switch rebuilds the RPM database?
–rebuilddb
What command will convert RPM to cpio archives?
rpm2cpio
What command extracts a cpio archive?
cpio -i –make-directories
What YUM command deletes a package from the system?
remove or delete
What YUM command displays information about a package?
list or info
What YUM command displays information about packages that provide a specified program or feature?
provides or whatprovides
What YUM command cleans the Yum cache directory?
clean
What YUM command enters CLI mode?
shell
What YUM command installs the specified local RPM files?
localinstall
What YUM command updates the system with the specified local RPM files?
localupdate
What YUM command diplays dependencies?
deplist
What YUM command will only download the file?
yumdownloader
Where is the main RPM config file and what is special about it?
/usr/lib/rpm/rpmrc - don’t edit
What file should be created to make global RPM changes?
/etc/rpmrc
What is the configuration file for YUM?
/etc/yum.conf
How does a new repository get added into YUM?
When a downloaded package is installed the repository is automatically added.
What directory holds the yum repositories?
/etc/yum.repos.d/