Product SiteDocumentation Site

Fedora 14

Software Management Guide

The definitive guide for software management

Edition 1.0

Guillermo Gómez Savino


Legal Notice

Copyright © 2010 Red Hat, Inc. and others.
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 manual is dedicated to software management in Fedora. The reader will learn the skills necessary to be able to install, remove, and update software in his or her system. This manual is designed for all technical levels: from users of Fedora desktop, to system administrators and Fedora developers.\n

Preface
1. Document Conventions
1.1. Typographic Conventions
1.2. Pull-quote Conventions
1.3. Notes and Warnings
2. We Need Feedback!
1. Introduction
1.1. Purpose
1.2. Audience
1.3. Manual Organization
2. Introduction to software management
2.1. RPM
2.2. Software Repositories
2.3. YUM
2.4. PackageKit
3. The gnome-packagekit GUI
3.1. gpk-application
3.1.1. Aplication State
3.1.2. Listings
3.1.3. Package Installation
3.1.4. Package Removal
3.1.5. Listing Filters
3.2. gpk-log
3.3. gpk-repo
3.4. gpk-update-viewer
3.5. gpk-update-icon
3.6. gpk-prefs
4. YUM Configuration
4.1. General Configuration
4.2. YUM Variables
4.3. Cache Management
4.4. Priority Configuration
4.5. Bandwidth Control
4.6. Proxy Configuration
4.7. Multiarchitecture Policy
4.8. Management of YUM Repositories
4.8.1. Add New Repositories
4.8.2. Manual Configuration of a Repository
4.8.3. Removing Repositories
4.8.4. The Fedora Repositories
4.8.5. Third Party and Personal Repositories
4.8.6. List of Mirrors and Metalink
4.8.7. Configuration for Package Protection
5. Yum Command Usage
5.1. Yum Commands and Syntax
5.2. Packages names
5.3. The Help Command
5.4. Repository Listing
5.5. Installing New Software
5.5.1. Install from the enabled repositories
5.5.2. Finger error, look at the suggestions
5.5.3. Installing an RPM
5.5.4. Reinstalling Software
5.6. Updating Software
5.6.1. Updating a Package
5.6.2. Updating with an RPM
5.6.3. Downgrade to a Previous Version
5.6.4. General Update
5.6.5. Checking and Update Listing
5.6.6. Exclude when Updating
5.6.7. Avoiding packages with problems when updating
5.7. Removing Software
5.8. Querying Package Information
5.9. Queries and Package Listings
5.9.1. Search by Name, Description and Summary
5.9.2. Search by file or functionality
5.9.3. Listing installed packages
5.9.4. Listing of available packages
5.9.5. Listing available updates
5.9.6. Listing recent packages
5.9.7. Listing foreign packages
5.10. Enable a repository on the go
5.11. Dependencies Listing
5.12. Query the cache
5.13. Show duplicates
5.14. Existing lock ...
5.15. YUM Software Groups
5.15.1. Listing available groups
5.15.2. Packages info from a group
5.15.3. Installing and Removing Groups
5.16. YUM history and logs
5.16.1. History
5.16.2. Undo? Redo!
5.16.3. Corrupt History
5.16.4. Responsible Identification with sudo
5.16.5. Checking the rpm database
6. Yum extensions
6.1. Extension installation and general configuration
6.2. yum-plugin-aliases
6.2.1. Configuration
6.2.2. Usage examples
6.3. yum-plugin-auto-update-debug-info
6.3.1. Configuration
6.3.2. Usage examples
6.4. yum-plugin-changelog
6.4.1. Configuration
6.4.2. Usage examples
6.5. yum-plugin-downloadonly
6.5.1. Configuration
6.5.2. Usage examples
6.5.3. What happens with the package dependencies?
6.5.4. What happens with packages already downloaded?
6.6. yum-plugin-fastestmirror
6.6.1. Configuration
6.6.2. Usage examples
6.7. yum-plugin-filter-data
6.7.1. Configuration
6.7.2. Documentation
6.7.3. Usage examples
6.8. yum-plugin-fs-snapshot
6.8.1. Configuration
6.8.2. Documentation
6.9. yum-plugin-keys
6.9.1. Configuration
6.9.2. Usage examples
6.10. yum-plugin-list-data
6.10.1. Documentation
6.10.2. Configuration
6.10.3. Usage examples
6.11. yum-plugin-local
6.11.1. Configuration
6.11.2. Usage examples
6.12. yum-plugin-merge-conf
6.12.1. Configuration
6.12.2. Usage examples
6.13. yum-plugin-post-transaction-actions
6.13.1. Configuration
6.13.2. Usage examples
6.14. yum-plugin-priorities
6.14.1. Configuration
6.14.2. Usage examples
6.15. yum-plugin-protectbase
6.15.1. Configuration
6.15.2. Usage examples
6.16. yum-plugin-refresh-updatesd
6.16.1. Configuration
6.17. yum-plugin-remove-with-leaves
6.17.1. Configuration
6.17.2. Usage examples
6.18. yum-plugin-warm-cache
6.18.1. Configuration
6.19. yum-plugin-security
6.19.1. Configuration
6.19.2. Usage examples
6.20. yum-plugin-show-leaves
6.20.1. Configuration
6.20.2. Usage examples
6.21. yum-plugin-tmprepo
6.21.1. Configuration
6.21.2. Usage example
6.22. yum-plugin-tsflags
6.22.1. Configuration
6.22.2. Usage examples
6.23. yum-plugin-upgrade-helper
6.23.1. Configuration
6.24. yum-plugin-verify
6.24.1. Configuration
6.24.2. Documentation
6.24.3. Usage examples
6.25. yum-plugin-versionlock
6.25.1. Configuration
6.25.2. Usage examples
6.26. yum-presto
6.26.1. Configuration
6.26.2. Usage examples
6.27. PackageKit-yum-plugin
6.27.1. Configuration
6.28. yum-langpacks
6.28.1. Configuration
6.29. Yum command usage and its extensions
6.29.1. Disable extensions
6.29.2. Usage examples
7. Yum Utils
7.1. yum-updateonboot
7.1.1. Configuration
7.2. yumdownloader
7.3. package-cleanup
7.3.1. Usage Examples
7.4. yum-complete-transaction
7.5. yum-builddep
7.6. yum-NetworkManager-dispatcher
7.7. yum-cron
7.7.1. Start and Stop
7.7.2. Configuration
8. Advanced YUM repository management
8.1. Repository creation with createrepo
8.2. Query repositories with repoquery
8.3. Groups management with yum-groups-manager
8.4. Creating YUM mirrors with reposync
8.5. Web browsable repositories with repoview
8.6. Unresolved dependencies with repoclosure
8.7. Package tracking with repotrack
9. PackageKit CLI
9.1. pkcon
9.1.1. Documentation
9.1.2. Searches
9.1.3. Install, update and remove packages
9.1.4. Packages Info
9.1.5. General Update
9.1.6. Available Updates
9.1.7. Groups
9.1.8. Repositories
9.1.9. Downloading Packages
9.1.10. Use of Filters
9.1.11. Transactions
9.2. gpk-install-local-file
9.3. gpk-install-catalog
9.4. pkmon
10. Rpm management elements
10.1. Why avoid RPM?
10.2. Documentation in the package
10.3. Configuration files in the package
10.4. File ownership
10.5. Database backup and rebuild
10.6. Importing keys
10.7. List imported keys
11. Techniques for system administrators
11.1. Remote configuration
11.2. syslog support
A. Revision History
Index