Answers
RPM packages contain these files Correct Ans-- .spec file containing information to create
rpm package
- libraries or application
- any documentation
- any configuration files
/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
#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]
baseurl=[repo url]
enabled = 1
gpgcheck = 1 (0 for local system)
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release,file:///etc/pki/rpm-gpg/RPM-
GPG-KEY-redhat-beta
man search Correct Ans-:/\repository
searches for page within the #man yum
#rpm -ivh [package name] Correct Ans-install with RPM