Play Video
1
RPM (Redhat Package Manager) Part 1 of 3
RPM (Redhat Package Manager) Part 1 of 3
::2012/10/08::
Play Video
2
Package Management with RPM and YUM
Package Management with RPM and YUM
::2013/05/28::
Play Video
3
LINUX:How To Make An RPM With Red Hat Package Manager
LINUX:How To Make An RPM With Red Hat Package Manager
::2011/10/03::
Play Video
4
Linux for Beginners: YUM Package Manager
Linux for Beginners: YUM Package Manager
::2013/01/15::
Play Video
5
RPM (Redhat Package Manager) Part 2 of 3
RPM (Redhat Package Manager) Part 2 of 3
::2012/10/08::
Play Video
6
RPM (Redhat Package Manager) Part 3 of 3
RPM (Redhat Package Manager) Part 3 of 3
::2012/10/08::
Play Video
7
Using the query feature of Redhat Package Manager RPM
Using the query feature of Redhat Package Manager RPM
::2011/05/08::
Play Video
8
RPM Package Manager
RPM Package Manager
::2014/08/26::
Play Video
9
Linux Package Management - part 1/3
Linux Package Management - part 1/3
::2013/04/18::
Play Video
10
12.0 Red Hat Packages Manager (RPM) - Red Hat Enterprise Linux - Dario Olivares
12.0 Red Hat Packages Manager (RPM) - Red Hat Enterprise Linux - Dario Olivares
::2013/12/16::
Play Video
11
RPM (Redhat Package Manager) Part 1 of 3
RPM (Redhat Package Manager) Part 1 of 3
::2014/10/13::
Play Video
12
Red Hat Package Manager and RPM Installation in Red Hat Linux
Red Hat Package Manager and RPM Installation in Red Hat Linux
::2013/08/28::
Play Video
13
Redhat Enterprise linux 5 RPM Package Management Part1
Redhat Enterprise linux 5 RPM Package Management Part1
::2011/09/06::
Play Video
14
Red Hat Package Manager o RPM
Red Hat Package Manager o RPM
::2013/12/01::
Play Video
15
Video 12 - Red Hat Packages Manager (RPM)
Video 12 - Red Hat Packages Manager (RPM)
::2013/12/25::
Play Video
16
Redhat Enterprise linux 5 RPM Package Management-Part2
Redhat Enterprise linux 5 RPM Package Management-Part2
::2011/09/06::
Play Video
17
Redhat Enterprise linux 5 RPM Package Management-Part3
Redhat Enterprise linux 5 RPM Package Management-Part3
::2011/09/06::
Play Video
18
Using Linux RPM
Using Linux RPM's to install programs
::2011/06/29::
Play Video
19
Uso de RPM
Uso de RPM
::2012/11/20::
Play Video
20
030   RPM Package Management
030 RPM Package Management
::2012/08/02::
Play Video
21
Day10_1 Package Management Using RPM
Day10_1 Package Management Using RPM
::2013/03/05::
Play Video
22
UBUNTU package management on 12.04 LTS Server
UBUNTU package management on 12.04 LTS Server
::2013/03/19::
Play Video
23
There
There's Gold in them thar package management database with Phil Hagen
::2014/04/02::
Play Video
24
Building RPM files on SUSE Linux
Building RPM files on SUSE Linux
::2014/01/14::
Play Video
25
Linux Package Management - part 2/3
Linux Package Management - part 2/3
::2013/04/19::
Play Video
26
Redhat Linux Exam: answer to question 13 (Package Management, yum)
Redhat Linux Exam: answer to question 13 (Package Management, yum)
::2014/02/19::
Play Video
27
Linux for Beginners: Apt-Get Package Manager
Linux for Beginners: Apt-Get Package Manager
::2013/01/10::
Play Video
28
Linux Package Management - part 3/3
Linux Package Management - part 3/3
::2013/04/19::
Play Video
29
install rpm package in redhat linux (rhel 6) in hindi with sarvesh saroha
install rpm package in redhat linux (rhel 6) in hindi with sarvesh saroha
::2012/03/01::
Play Video
30
Package Management with DPKG and APT
Package Management with DPKG and APT
::2013/05/28::
Play Video
31
openSUSE 13.2 Beta 1 TEST/Review
openSUSE 13.2 Beta 1 TEST/Review
::2014/10/01::
Play Video
32
APT (Advanced Package Manager) - Installing Software On Debian Linux Systems
APT (Advanced Package Manager) - Installing Software On Debian Linux Systems
::2011/01/21::
Play Video
33
How to install any Software Package (RPM) in LINUX ?
How to install any Software Package (RPM) in LINUX ?
::2014/05/25::
Play Video
34
Redhat Enterprise linux 5 YUM Package Management Part 1   YouTube
Redhat Enterprise linux 5 YUM Package Management Part 1 YouTube
::2012/07/09::
Play Video
35
Learning Linux - Episode Eleven - RPM & YUM
Learning Linux - Episode Eleven - RPM & YUM
::2014/01/25::
Play Video
36
Manjaro Mania ::: Octopi  - The Alternative Package Manager
Manjaro Mania ::: Octopi - The Alternative Package Manager
::2013/10/02::
Play Video
37
how to install rpm  package in redhat linux 6 step by step in hindi
how to install rpm package in redhat linux 6 step by step in hindi
::2014/03/10::
Play Video
38
Ubuntu 12.04 - How to install and run Synaptic Package Manager
Ubuntu 12.04 - How to install and run Synaptic Package Manager
::2013/02/06::
Play Video
39
WD Arkeia: How to "add" a Linux Client using the RedHat Package Manager
WD Arkeia: How to "add" a Linux Client using the RedHat Package Manager
::2013/10/23::
Play Video
40
How to build rpm packages from source.avi
How to build rpm packages from source.avi
::2011/12/19::
Play Video
41
Redhat Enterprise linux 5 YUM Package Management Part3   YouTube
Redhat Enterprise linux 5 YUM Package Management Part3 YouTube
::2012/07/09::
Play Video
42
RHEL6 Linux in Hindi - RPM Management
RHEL6 Linux in Hindi - RPM Management
::2011/11/04::
Play Video
43
Guía 12.0 RedHat Packages Manager - Sebastián González
Guía 12.0 RedHat Packages Manager - Sebastián González
::2013/12/01::
Play Video
44
Oracle Linux Track - Lab 1 - Package Management - OTN Virtual Sysadmin Day
Oracle Linux Track - Lab 1 - Package Management - OTN Virtual Sysadmin Day
::2013/07/19::
Play Video
45
Correctly Installing RPM Packages in RHEL
Correctly Installing RPM Packages in RHEL
::2014/01/24::
Play Video
46
Linux Sysadmin Basics 05 -- Package Management with apt-get
Linux Sysadmin Basics 05 -- Package Management with apt-get
::2014/03/18::
Play Video
47
How to install Software in CentOS/Linux using rpm command - Linux Video Tutorials
How to install Software in CentOS/Linux using rpm command - Linux Video Tutorials
::2014/08/26::
Play Video
48
Convert RPM Packages into Deb Package in Ubuntu/Linux Mint
Convert RPM Packages into Deb Package in Ubuntu/Linux Mint
::2012/02/26::
Play Video
49
Using Linux YUM Package Manager
Using Linux YUM Package Manager
::2011/07/02::
Play Video
50
RPM Part 1.mp4
RPM Part 1.mp4
::2011/04/22::
NEXT >>
RESULTS [51 .. 101]
From Wikipedia, the free encyclopedia
Jump to: navigation, search
RPM Package Manager (RPM)
RPM Logo.svg
Original author(s) Red Hat
Developer(s) Community & Red Hat[1][2]
Stable release 4.12 / 16 September 2014; 2 months ago (2014-09-16)
Written in C, Perl[3]
Operating system Linux, Unix-like
Type Package management system
License GPL
Website www.rpm.org

RPM Package Manager (RPM) (originally Red Hat Package Manager; now a recursive initialism) is a package management system.[4] The name RPM variously refers to the .rpm file format, files in this format, software packaged in such files, and the package manager itself. RPM was intended primarily for Linux distributions; the file format is the baseline package format of the Linux Standard Base.

Even though it was created for use in Red Hat Linux, RPM is now used in many GNU/Linux distributions. It has also been ported to some other operating systems, such as Novell NetWare (as of version 6.5 SP3) and IBM's AIX (as of version 4).

An RPM package can contain an arbitrary set of files. The larger part of RPM files encountered are “binary RPMs” (or BRPMs) containing the compiled version of some software. RPM files however may also contain the source code, then called “source RPMs” (or SRPMs) used to produce a package. SRPMs have an appropriate tag in the file header that distinguishes them from normal (B)RPMs, causing them to be extracted to /usr/src on installation. SRPMs also customarily carry the file extension “.src.rpm” (.spm on file systems limited to 3 extension characters, i.e. old DOS FAT).

History[edit]

RPM was originally written in 1997 by Erik Troan and Marc Ewing,[5] based on pms, rpp, and pm experiences.

pm was written by Rik Faith and Doug Hoffman in May 1995 for Red Hat Software. The design and implementation of pm was influenced greatly by previous experience with pms(1), a Package Management System designed and implemented by Rik Faith and Kevin Martin in the fall of 1993 for the Bogus Linux Distribution. pm preserves the "pristine sources + patches" paradigm of pms, while adding features and eliminating arbitrary limitations present in the implementation. pm provides greatly enhanced database support for tracking and verifying installed packages[6][7][3]

Features[edit]

For a system administrator performing software installation and maintenance, the use of package management rather than manual building has advantages such as simplicity, consistency and the ability for these processes to be automated and non-interactive.

Features of RPM include:

  • RPM packages can be cryptographically verified with GPG and MD5
  • Original source archive(s) (e.g. .tar.gz, .tar.bz2) are included in SRPMs, making verification easier
  • PatchRPMs and DeltaRPMs, the RPM equivalent of a patch file, can incrementally update RPM-installed software
  • Automatic build-time dependency evaluation.

Local operations[edit]

Packages may come from within a particular distribution (for example Red Hat Enterprise Linux) or be built for it by other parties (for example RPM Fusion for Fedora).[8] Circular dependencies among mutually dependent RPMs (so-called "dependency hell") can be problematic;[9] in such cases a single installation command needs to specify all the relevant packages.

Repositories[edit]

RPMs are often collected centrally in one or more repositories on the internet. A local site often has its own local RPM repositories which may either act as local mirrors of such internet repositories or be locally maintained collections of useful RPMs.

Front ends[edit]

Several front-ends to RPM ease the process of obtaining and installing RPMs from repositories and help in resolving their dependencies. These include:

Local RPM installation database[edit]

Working behind the scenes of the package manager is the RPM database, stored in /var/lib/rpm. It uses Berkeley DB as its back-end. It consists of a single database (Packages) containing all of the meta information of the installed rpms. Multiple databases are created for indexing purposes, replicating data to speed up queries. The database is used to keep track of all files that are changed and created when a user (using RPM) installs a package, thus enabling the user (via RPM) to reverse the changes and remove the package later. If the database gets corrupted (which is possible if the RPM client is killed), the index databases can be recreated with the rpm --rebuilddb command.[12]

Description[edit]

Whilst the RPM format is the same across different Linux distributions, the detailed conventions and guidelines may vary across them.

Package filename and label[edit]

An RPM is delivered in a single file, normally in the format:

<name>-<version>-<release>.<architecture>.rpm

such as:

libgnomeuimm-2.0-2.0.0-3.i386.rpm

where <name> is libgnomeuimm-2.0.

Source code may also be distributed in RPM packages; the <architecture> part is specified as src:

libgnomeuimm-2.0-2.0.0-3.src.rpm

RPMs with the noarch.rpm extension refer to packages which do not depend on a certain computer's architecture. These include graphics and text for another program to use, and programs written in interpreted programming languages such as Python programs and shell scripts.

The RPM contents also include a package label, which contains the following pieces of information:

  • software name
  • software version (the version taken from original upstream source of the software)
  • package release (the number of times the package has been rebuilt using the same version of the software). This field is also often used for indicating the specific distribution the package is intended for by appending strings like "mdv" (formerly, "mdk") (Mandriva Linux), "mga" (Mageia), "fc4" (Fedora Core 4), "rhl9" (Red Hat Linux 9), "suse100" (SUSE Linux 10.0) etc.
  • architecture for which the package was built (i386, i686, x86_64, ppc, etc.)

The package label fields do not need to match the filename.

Library packaging[edit]

Libraries are distributed in two separate packages for each version. One contains the precompiled code for use at run-time, while the second one contains the related development files such as headers, etc. Those packages have "-devel" appended to their name field. The system administrator should ensure that the versions of the binary and development packages match.

Format[edit]

The format is binary and consists of four sections:[4]

  • The lead, which identifies the file as an RPM file and contains some obsolete headers.
  • The signature, which can be used to ensure integrity and/or authenticity.
  • The header, which contains metadata including package name, version, architecture, file list, etc.
  • A file archive (the payload), which usually is in cpio format, compressed with gzip. The rpm2cpio tool enables retrieval of the cpio file without needing to install the RPM package.[13]
    • More recent versions of RPM can also use bzip2, lzip,[14] lzma, or xz compression.
    • RPM 5.0 format supports using xar for archiving.

SPEC file[edit]

The "Recipe" for creating an RPM package is a spec file. Spec files end in the ".spec" suffix and contain the package name, version, RPM revision number, steps to build, install, and clean a package, and a changelog. Multiple packages can be built from a single RPM spec file, if desired. RPM packages are created from RPM spec files using the rpmbuild tool.

Spec files are usually distributed within SRPM files, which contain the spec file packaged along with the source code.

SRPM[edit]

A typical RPM is pre-compiled software ready for direct installation. The corresponding source code can also be distributed. This is done in an SRPM, which also includes the "SPEC" file describing the software and how it is built. The SRPM also allows the user to compile, and perhaps modify, the code itself.

A software package may contain only scripts that are architecture-independent. In such a case only an SRPM may be available; this is still an installable RPM.

Forks[edit]

As of June 2010, there are two versions of RPM in development: one led by the Fedora Project and Red Hat, and the other by a separate group led by a previous maintainer of RPM, a former employee of Red Hat.

RPM.org[edit]

The rpm.org community's first major code revision was in July 2007; version 4.8 was released in January 2010, version 4.9 in March 2011 and 4.10 in May 2012.

This version is used by distributions such as Fedora, Red Hat Enterprise Linux, SUSE's openSUSE and SUSE Linux Enterprise, CentOS, Mageia,[15] and formerly Mandriva (only for 2009.0–2010.2).

RPM v5[edit]

The RPM maintainer since 1999, Jeff Johnson, continued development efforts together with participants from several other distributions. RPM version 5 was released in May 2007.

This version is used by distributions such as Unity Linux, Wind River Linux, Rosa Linux, and OpenMandriva Lx (former Mandriva Linux which switched to rpm5 in 2011[16]) and also by the OpenPKG project which provides packages for other common UNIX-platforms.

See also[edit]

  • Autopackage — a "complementary" package management system
  • Delta ISO — an ISO image which contains RPM Package Manager files
  • dpkg — package management system used by Debian and its derivatives
  • List of Linux distributions
  • Portage — package management system used by Gentoo
  • Ports and Packages — FreeBSD's package management system
  • Ports and Packages — OpenBSD and NetBSD package management system
  • pkg-config — queries libraries to compile software from its source code
  • MANCOOSI
  • pkgsrc — package management system focusing on NetBSD, but available for Solaris, Linux, Darwin (Mac OS X), FreeBSD, OpenBSD, IRIX, BSD/OS, AIX, Interix (Microsoft Windows Services for Unix), DragonFlyBSD, OSF/1, HP-UX, QNX, and Haiku

References[edit]

  1. ^ "RPM -- plans, goals, etc.". Max Spevack <mspevack redhat com>. Retrieved 2011-01-20. 
  2. ^ "RPM.org FAQ". Retrieved 2013-08-25. 
  3. ^ a b Bailey, Edward C. (2000). "Chapter 1: An Introduction to Package Management". Maximum RPM: Taking the Red Hat Package Manager to the Limit. Red Hat, Inc. pp. 22–25. ISBN 978-1888172782. Retrieved 2013-08-13. 
  4. ^ a b Bailey, Edward C. (2000). "Appendix A: Format of the RPM File". Maximum RPM: Taking the Red Hat Package Manager to the Limit. Red Hat, Inc. pp. 325–336. ISBN 978-1888172782. Retrieved 2010-11-22. 
  5. ^ "RPM Project Roadmap". rpm5.org. Retrieved 2011-12-11. 
  6. ^ "RPM Guide-RPM - Design Goals". Retrieved 2014-04-14. 
  7. ^ "BOGUS Announce". Retrieved 2014-04-14. 
  8. ^ "RPM Fusion". rpmfusion.org. Retrieved 2010-11-22. 
  9. ^ "An Analysis of RPM Validation Drift". USENIX Association. Retrieved 2011-03-15. 
  10. ^ "Zypper - MeeGo wiki". Retrieved 2014-04-14. 
  11. ^ "FAQs: About the Projects". Ark Linux Official Site. Retrieved 2014-04-14. 
  12. ^ "Repair an RPM database safely". Retrieved 2011-11-11. 
  13. ^ "Supplemental Packaging Software". Fedora Project. Retrieved 2011-11-11. 
  14. ^ "Add lzip support". Retrieved 2013-10-24. 
  15. ^ Mageia 3 Release Notes: Package management. mageia.org. 2013-05-19. Retrieved 2014-04-14. 
  16. ^ Bodnar, Ladislav & Smith, Jesse (2010-11-22). DistroWatch Weekly. DistroWatch. Retrieved 2010-11-22. 

External links[edit]

Wikipedia content is licensed under the GFDL License
Powered by YouTube
LEGAL
  • Mashpedia © 2014