Solutions
RPM packages contain these files Correct Ans-- .spec file containing information to create
rpm package
- libraries or application Correct Ans-...
- any documentation Correct Ans-...
- any configuration files Correct Ans-...
/var/lib/rpm Correct Ans-contains RPM database
name-version-release.architecture.rpm Correct Ans-RPM package naming
#yum Correct Ans-handles dependencies while RPMs do not
uses preconfigured repos Correct Ans-...
#yum info [package name] Correct Ans-get more information on a package availale through
yum
,#yum install [package name] Correct Ans-install a package with yum
#yum remove [package name] Correct Ans-remove a package with yum
#yum grouplist Correct Ans-get a list of package groups from yum
#yum groupinstall "group name" Correct Ans-install a package group with yum
#yum groupremove "group name" Correct Ans-uninstall a package group with yum
/etc/yum.repos.d Correct Ans-repos for yum
repo config file Correct Ans-[repo identifier]
name=[repo name] Correct Ans-...
baseurl=[repo url] Correct Ans-...
enabled = 1 Correct Ans-...
,gpgcheck = 1 (0 for local system) Correct Ans-...
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release Correct Ans-
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
man search Correct Ans-:/\repository
searches for page within the #man yum Correct Ans-...
#rpm -ivh [package name] Correct Ans-install with RPM
#rpm -qa | grep [package name] Correct Ans-search for a package within all packages
#rpm -uvh [package name] Correct Ans-rpm upgrade package
u upgrade Correct Ans-...
v verbose Correct Ans-...
h hash Correct Ans-...
, #rpm -qad [package name] Correct Ans-query all documentation with RPM
#rpm -qac [package name] Correct Ans-query configuration files with RPM
#rpm -qi [package name] Correct Ans-query information files with RPM
add/remove software GUI Correct Ans-GUI install / uninstall with yum
#uname -r Correct Ans-gets kernel version and release number
updating the kernel Correct Ans-should be done with yum and install as opposed to update
if done with RPM option "i" should be used and not "u" Correct Ans-...
disks available for partitions Correct Ans-/dev
2>&1 Correct Ans-redirect errors to std out
cat >> some_file << _EOF Correct Ans-edit files with cat until the _EOF is found
# grep -i Correct Ans-grep with ignoring case