Language Selection

English French German Italian Portuguese Spanish

Keeping your system tidy: creating simple packages

Filed under
HowTos

Installing software on a GNU/Linux system is often as simple as opening a package management interface, selecting with the mouse which packages you want installed, and letting the package management system install the wanted packages—plus, any dependencies required for the package to run. But what can you do if you want to install software which is not already packaged in your distribution of choice, and you still want it to be registered in your package management system for easy maintenance?

Create your own package, of course. Which doesn't have to be all that hard.
As most people know, there are two main package management systems: the Red Hat Package Management system, or RPM, and the packages used for Debian and its derivatives, commonly known as .deb files. Since I'm a Debian developer, my experience with the latter format is obviously quite a bit higher than the experience I have with the RPM format, and so this post will focus on Debian packages; but it should be noted that most of the concepts explained here will apply equally well to self-made RPM packages.

Package management concepts

Before I can go ahead and explain how to create a simple package, it's important to understand a few things about packages and package management systems in general.

Full Story.

More in Tux Machines

Head 2 Head: Android OS vs. Chrome OS

A large part of Google’s OS success hasn’t been because of its awesomeness. No. Frankly, we think nothing speaks louder than the almighty dollar in this world. But both are “free,” right? So this is tie? Not really. Although Android is technically free since Google doesn’t charge device makers for it, there are costs associated with getting devices “certified.” Oh, yeah, and then there’s Apple and Microsoft, both of which get healthy payouts from device makers through patent lawsuits. Microsoft reportedly makes far more from Android sales than Windows Phone sales. You just generally don’t see the price because it’s abstracted by carriers. Chrome OS, on the other hand, actually is pretty much free. A top-ofthe-line Chromebook is $280, while a top-of-the-line Android phone full retail is usually $600. We’re giving this one to Chrome OS because if it’s generally cheaper for the builder, it’s cheaper for you. Read more

Kodi (XBMC Media Center) 14.2 Officially Released, Kodi 15 “Isengard” Is On Its Way

The Kodi development team, through Nathan Betzen, had the pleasure of announcing today, March 28, the immediate availability for download of the second and last maintenance release for Kodi 14 (codename Helix), before they continue with the development cycle for the upcoming release, Kodi 15, dubbed Isengard. Read more

Debian 8 Jessie Installer Now Supports Running a 64-bit Linux Kernel on a 32-bit EFI

The Debian Installer team had the pleasure of announcing on March 27 that the second Release Candidate (RC) version of the Debian 8.0 "Jessie" installer is now available for download and testing. The RC2 version of the installer brings a great number of improvements and fixes. Read more

First Look at GNOME 3.16

The highly anticipated GNOME 3.16 desktop environment for Linux kernel-based operating systems has been announced on March 26, 2015, and has been declared by the GNOME development team as the best GNOME release yet. Of course, we wanted to give GNOME 3.16 desktop environment a try and see for ourselves the new features, apps, and improvements. Read more