Language Selection

English French German Italian Portuguese Spanish

Keeping your system tidy: creating simple packages

Filed under

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

Manjaro Linux Fluxbox 15.10 Edition Released with a Completely Redesigned Desktop

A few minutes ago, October 10, the Manjaro Community Team, through Bernhard Landauer, was proud to announce the release and immediate availability for download of the Manjaro Linux Fluxbox 15.10 operating system. Read more

New IBM Linux Servers Tap OpenPower Technology

IBM this week launched a new "LC" line of servers that infuse technologies from members of the OpenPower Foundation and are part of IBM's Power Systems portfolio of servers. The new Power Systems LC servers were designed based on technologies and development efforts contributed by OpenPower Foundation partners—including Canonical, Mellanox, Nvidia, Tyan and Wistron. Read more

Learning The Linux File System

Before we get started, let’s avoid any confusion. There are two meanings to the term “File System” in the wonderful world of computing: First, there is the system of files and the directory structure that all of your data is stored in. Second, is the format scheme that is used to write data on mass storage devices like hard drives and SSD’s. We are going to be talking about the first kind of file system here because the average user will interact with his or her file system every time they use a computer, the format that data is written in on their storage devices is usually of little concern to them. The many different file systems that can be used on storage is really only interesting to hardware geeks and is best saved for another discussion. Now that that’s cleared up, we can press on. (Read the rest at Freedom Penguin)

today's howtos