FANDOM


yum/rpm Edit

To see a list of the files in some remote package use;

  1. repoquery -ql gstreamer

To see what objects it provides use...; ???

http://fedorasolved.org/Members/zcat/yum-rpm-faq

http://www.thegeekstuff.com/2011/08/yum-command-examples/

extract a single file http://wiki.centos.org/TipsAndTricks/YumAndRPM


--provides list capabilities that this package provides

 --requires                       list capabilities required by package(s)
 --conflicts                      list capabilities this package conflicts
                                  with
 --whatrequires                   query/verify the package(s) which require a
                                  dependency
 --whatprovides                   query/verify the package(s) which provide a
                                  dependency
 --fileprovide                    list file names with provides
 --filerequire                    list file names with requires


http://cimarron-taylor.appspot.com/html/0901/090107-yum.html


yum with chef. http://wiki.opscode.com/display/chef/Yum+Package+Resource




RPM Edit

inspect a file from a package; rpm2cpio logrotate-1.0-1.i386.rpm |cpio -ivd etc/logrotate.conf

verify what files have been altered since installation; rpm -V packagename


some notes on the options, and how they are structued http://www.rpm.org/max-rpm/


Specfiles Edit

Details of the specfile; http://www.rpm.org/max-rpm/ch-rpm-inside.html

Comments — Human-readable notes ignored by RPM. Tags — Define data. Scripts — Contain commands to be executed at specific times. Macros — A method of executing multiple commands easily. The %files list — A list of files to be included in the package. Directives — Used in the %files list to direct RPM to handle certain files in a specific way. Conditionals — Permit operating system- or architecture-specific preprocessing of the spec file.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.