ما هو 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