Что такое RPM? Объяснение формата менеджера пакетов Red Hat

RPM — это формат пакетов и менеджер, используемые Red Hat, Fedora и SUSE Linux, хранящие метаданные в заголовке и файлы в сжатой нагрузке cpio.

Бесплатный онлайн-конвертер файлов. Работает в Chrome, Firefox, Safari, Edge, Opera и других современных браузерах на Windows, macOS, Linux, Android и iOS. Не требует установки ПО или регистрации. Все преобразования выполняются прямо в браузере, поэтому ваши файлы не покидают устройство. Бесплатно и без учётной записи.

Archive

Что такое RPM? Объяснение формата менеджера пакетов Red Hat

Нативный формат пакетов для Red Hat, Fedora, SUSE и связанных дистрибутивов Linux.

Последнее обновление:

Year1997
TypeSoftware package
UsageLinux software installation

What is it?

RPM, originally the Red Hat Package Manager and now simply the RPM Package Manager, is both a packaging format and the tool that installs and manages it. It is the native package system for Red Hat Enterprise Linux, Fedora, CentOS, openSUSE, and many related distributions.

An RPM file begins with magic bytes and consists of a lead, a signature section, a header containing package metadata such as name, version, architecture, and file list, and a payload. The payload holds the actual files as a cpio archive, traditionally compressed with gzip and in modern packages often with xz or zstd.

Technical Specifications

DeveloperErik Troan and Marc Ewing (Red Hat)
File Extension.rpm
MIME Typeapplication/x-rpm
Released1997
TypeBinary software package

Pros & Cons

Advantages

Подробный заголовок метаданных

A structured header records dependencies, version, architecture, and the complete file manifest.

Проверка и подпись

Packages can be GPG-signed and verified, and installed files can be checked against recorded checksums.

Отслеживание зависимостей

Works with front ends like DNF and Zypper to resolve and install required dependencies.

Широко используемый

It is the standard across the Red Hat and SUSE families and is recognized by the Linux Standard Base.

Disadvantages

Специфичный для дистрибуции

RPM is native to Red Hat and SUSE families and is not directly used on Debian-based systems.

Сложности с зависимостями

Installing RPMs from outside managed repositories can lead to unresolved or conflicting dependencies.

Различия между дистрибуциями

RPMs built for one distribution may not install cleanly on another due to differing dependency names.

When to Use It

RPM underpins software distribution across the Red Hat and SUSE Linux ecosystems.

Репозитории дистрибуции

Fedora, RHEL, and openSUSE ship their software as signed RPM packages.

Корпоративное программное обеспечение

Commercial Linux applications are commonly delivered as RPM files for supported distributions.

Пользовательская упаковка

Developers build RPMs from spec files to package and deploy their own software.

How to open a RPM file

RPM files are commonly associated with Linux distributions, particularly those based on Red Hat, and the tools to open and manipulate them can be categorized into professional software, free/open-source options, browser-based tools, and built-in utilities. Professional tools often offer advanced features for enterprise users, while free and open-source options are suitable for hobbyists and developers. Browser-based tools provide accessibility without installation, and built-in utilities are typically included with Linux distributions for quick access.

When choosing a tool for RPM files, factors such as feature fidelity, whether the tool is for editing or viewing, cost, platform compatibility, and export capabilities are crucial. Some users may prioritize a free solution, while others may need a robust professional tool for complex tasks. Additionally, understanding when to convert RPM files to other formats can influence the choice of software, especially if cross-platform compatibility is required.

RPM Package Manager 4.16

LinuxFree (GPL)

RPM Package Manager is the standard package management system for Red Hat-based distributions. It allows users to install, uninstall, and manage RPM files with high fidelity, ensuring that package dependencies are resolved effectively.

Ключевые функции
  • Dependency resolution for packages
  • Installation and removal of RPM files
  • Querying package information
  • Verification of package integrity
  • Support for custom scripts during installation
Преимущества
  • Native support in Red Hat-based systems
  • Comprehensive package management features
  • Strong community and documentation support
Ограничения
  • Limited to Linux platforms
  • No graphical user interface by default

Лучше всего для: Choose RPM Package Manager if you need a robust, native solution for managing RPM files on Linux.

Перейти RPM Package Manager →

Alien 8.95

LinuxFree (GPL)

Alien is a command-line tool that converts RPM files to other package formats like DEB, TAR, and others. It is particularly useful for users who need to install RPM packages on Debian-based systems, providing a way to bridge compatibility gaps.

Ключевые функции
  • Convert RPM to DEB, TAR, and more
  • Preserves file structure during conversion
  • Handles dependencies during conversion
  • Command-line interface for scripting
  • Supports various Linux distributions
Преимущества
  • Versatile format conversion capabilities
  • Useful for cross-distribution package management
  • Lightweight and easy to use
Ограничения
  • Limited to command-line interface
  • Conversion may not always be perfect

Экспортирует в: DEB, TAR, LZMA, TGZ

Лучше всего для: Select Alien if you need to convert RPM files for use on Debian-based systems.

Перейти Alien →

GNOME Software 3.38

LinuxFree (GPL)

GNOME Software is a graphical software management tool for Linux that allows users to install RPM packages easily. It provides a user-friendly interface for browsing and managing software, making it suitable for less technical users.

Ключевые функции
  • Graphical interface for package management
  • Search and browse software repositories
  • Install and update RPM packages
  • Dependency management
  • Integration with Flatpak and Snap
Преимущества
  • User-friendly graphical interface
  • Supports multiple package formats
  • Easy software discovery and installation
Ограничения
  • Limited to GNOME desktop environments
  • May not support all RPM features

Лучше всего для: Use GNOME Software if you prefer a graphical interface for managing RPM packages on GNOME-based Linux systems.

Перейти GNOME Software →

YUM (Yellowdog Updater, Modified) 4.0

LinuxFree (GPL)

YUM is a package manager for RPM-based distributions that simplifies the process of managing RPM packages. It automates the installation, updating, and removal of packages while resolving dependencies automatically.

Ключевые функции
  • Automatic dependency resolution
  • Group package management
  • Repository management
  • Command-line interface for package operations
  • Support for plugins to extend functionality
Преимущества
  • Automates complex package management tasks
  • Strong community support and documentation
  • Widely used in enterprise environments
Ограничения
  • Command-line only, no GUI
  • Can be slow with large repositories

Лучше всего для: Opt for YUM if you need a powerful command-line tool for managing RPM packages with automated dependency handling.

Перейти YUM (Yellowdog Updater, Modified) →

Convert RPM Files Free

Use our free online archive converter to convert RPM and other formats - no signup, no watermarks.

Try Archive Converter Free

References

  1. RPM Package format - rpm.org
  2. RPM Package Manager - Wikipedia