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

today's leftovers

  • Comic-Con and FOSS Comic Book Solutions
    After whetting his appetite at this year’s Comic-Con, our resident Linux newbie discovers free and open source apps for reading digital comics, as well as a treasure trove of available sources for free comics online.
  • Linux Kernel 3.12.62 LTS Improves SPARC Support, Updates the Networking Stack
    Linux kernel developer Jiri Slaby announced the release of the sixty-second maintenance update for the long-term supported Linux 3.12 kernel series, which will receive support until 2017 because of SUSE Enterprise Linux. Linux kernel 3.12.62 LTS is a modest update, and looking at the diff from the previous maintenance release, version 3.12.61, we can notice that it changes a total of 96 files, with 1213 insertions and 1053 deletions. Among the changes, we can notice lots of fixes for the SPARC hardware architecture, but there are various other improvements for the ARM, MIPS, PA-RISC, and x86 instruction set architectures.
  • ‘Anatine’ Is a Simple Desktop Twitter App for Linux
    Anatine describes itself as a 'pristine Twitter app for Linux', but is it anything more than a wrapper around the mobile website?
  • Skype for Linux Alpha 1.3 Released With Small Bug Fixes
    A small bug fix update to Skype for Linux alpha is now available, and fixes, among many changes, errant close to tray behaviour on the Cinnamon desktop.
  • On the killing of intltool
    Say thanks to Daiki Ueno for his work maintaining gettext and enhancing it to make change practical, and to Javier Jardon for pushing this within GNOME and working to remove intltool from important GNOME modules.
  • On discoverability
    I've discussed elsewhere that usability is about real people doing real tasks in a reasonable amount of time. Some researchers also refer to "learnability" and "memorability" to define usability—this is very similar to discoverability. Can you discover the features of the system just by poking at it? Is the user interface obvious enough that you can figure it out on your own?
  • This is Lubuntu 16.10’s New Default Wallpaper
    The default wallpaper of Lubuntu 16.10 — yes, that's Lubuntu, with an 'l' — has been unveiled — but will fans of the lightweight Ubuntu spin like it?

today's howtos

Red Hat and Fedora

Android Leftovers