http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/index.html
RPM Guide
Edition 0
Copyright © 2005,2011 Fedora Project Contributors
Legal Notice
Copyright
© 2005,2011 Fedora Project Contributors.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at
http://creativecommons.org/licenses/by-sa/3.0/. The original authors of this document, and Red Hat, designate the Fedora Project as the "Attribution Party" for purposes of CC-BY-SA. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
For guidelines on the permitted uses of the Fedora trademarks, refer to
https://fedoraproject.org/wiki/Legal:Trademark_guidelines.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
All other trademarks are the property of their respective owners.
Abstract
This book is a guide for using the RPM Package Manager. It is a work in progress to update Eric Foster-Johnson's original work.
-
Introducing Package Management
- 1. Introduction to RPM
- 2. RPM Overview
- 3. Using RPM
- 4. Using the RPM Database
-
-
4.1. Querying the RPM Database
- 4.2. Getting Information on Packages
-
-
4.2.1. Describing packages
4.2.2. Package groups
4.2.3. Listing the files in a package
4.2.4. Listing the configuration files for a package
4.2.5. Listing the documentation files for a package
4.2.6. Listing the state of the files in a package
4.2.7. Listing the scripts in a package
4.2.8. Listing what has changed
4.2.9. Combining queries
4.2.10. Creating custom queries
4.2.11. Working With Query Format Tags
4.2.12. Querying for Package Information
4.2.13. Formatting Arrays
4.2.14. Special Formatting
4.2.15. Querying for Package Dependencies
4.2.16. Querying for File Information
4.2.17. Other Query Format Tags
4.3. Other queries
4.4. Getting Information on Package Files
5. Package Dependencies
- 6. Transactions
- 7. RPM Management Software
- 8. Creating RPMs: An Overview
- 9. Working with Spec Files
- 10. Advanced RPM Packaging
- 11. Controlling the Build with
- 12. Supplemental Packaging Software
- 13. Packaging Guidelines
- 14. Automating RPM with Scripts
- 15. Programming RPM with C
- 16. Programming RPM with Python
- 17. Programming RPM with Perl
- 18. Using RPM on Non-Red Hat Linuxes
- 19. RPM on Other Operating Systems
- 20. Customizing RPM Behavior
- 21. RPM Command Reference
- 22. Spec File Syntax
- 23. RPM Feature Evolution 24. RPM Package File Structure
- 25. RPM Resources
- 26. Linux Text Editors and Development Tools
- 27. Licensing RPM
- A. Revision History Index
rpmbuild