x
Loading
 Loading
Hello, Guest | Login | Register

Software Packaging with RPM

If you’re running RedHat or a Linux distribution based on RedHat, chances are you’ve had occassion to use RPMs. RPMs and Red Hat’s accompanying package management system (and other systems like it) greatly simplify the task of maintaining the software on a system. With RPMs, installs, upgrades, and even downgrades are quick and easy.

If you’re running RedHat or a Linux distribution based on RedHat, chances are you’ve had occassion to use RPMs. RPMs and Red Hat’s accompanying package management system (and other systems like it) greatly simplify the task of maintaining the software on a system. With RPMs, installs, upgrades, and even downgrades are quick and easy.

Because RPMs make installations uniform and simple, most open source projects are distributed as RPMs (as well as other forms of packages). With a little effort, you can distribute your code and binaries as RPMs as well. You need some new tools to build RPMs, but they’re relatively easy to master. This month, let’s review the basics of package management and outline the process of creating your own RPMs.

A Brief History

A software package is a collection of related files, ranging from the typical collection of binaries and man pages, to full-blown, expansive software development kits (SDKs) that includes tools, libraries, documentation, and source code.

Before the advent of formal package formats and package managers, people typically archived and distributed software in a tarball — a tar file or a compressed variant of a tar file — and installed software by extracting tarballs on their systems. While useful, the simplicity of a tarball is also its Achilles’ heel: a tarball is just an inert collection of files, and once extracted, there’s no way to match an installed file to its tarball (or to other related files) or reconstitute…

Please log in to view this content.

Not Yet a Member?

Register with LinuxMagazine.com and get free access to the entire archive, including:

  • Hands-on Content
  • White Papers
  • Community Features
  • And more.
Already a Member?
Log in!
Username

Password

Remember me

Forgotten your password?
Forgotten your username?
Read More
  1. Helpful Tools for Software Developers
  2. The Github Hall of Fame
  3. Book'em, Github.
  4. This Week on Github: Stupid Ruby Tricks
  5. A Veritable Scatter Shot!
Follow Linux Magazine
Rackspace