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