Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

Appendix B. Using Red Hat Enterprise Linux packages


This section describes how to use software delivered as RPM packages for Red Hat Enterprise Linux.

To ensure the RPM packages for this product are available, you must first register your system.

B.1. Overview

A component such as a library or server often has multiple packages associated with it. You do not have to install them all. You can install only the ones you need.

The primary package typically has the simplest name, without additional qualifiers. This package provides all the required interfaces for using the component at program run time.

Packages with names ending in -devel contain headers for C and C++ libraries. These are required at compile time to build programs that depend on this package.

Packages with names ending in -docs contain documentation and example programs for the component.

For more information about using RPM packages, see one of the following resources:

B.2. Searching for packages

To search for packages, use the yum search command. The search results include package names, which you can use as the value for <package> in the other commands listed in this section.

$ yum search <keyword>...
Copy to Clipboard Toggle word wrap

B.3. Installing packages

To install packages, use the yum install command.

$ sudo yum install <package>...
Copy to Clipboard Toggle word wrap

B.4. Querying package information

To list the packages installed in your system, use the rpm -qa command.

$ rpm -qa
Copy to Clipboard Toggle word wrap

To get information about a particular package, use the rpm -qi command.

$ rpm -qi <package>
Copy to Clipboard Toggle word wrap

To list all the files associated with a package, use the rpm -ql command.

$ rpm -ql <package>
Copy to Clipboard Toggle word wrap
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat