Posts Tagged ‘nussbaum’

A quick initiation to the Debian package construction

Thursday, December 22nd, 2011

While attenting at this year’s RMLL conferences, I had the opportunity to listen to a great presentation of the APT package management system by Lucas Nussbaum. I then had the idea to create this post as a quick reference on how to quickly build someone’s first Debian package.

You are kindly invited to take a glance at the complete presentation hosted here if you want to learn more about this exciting part of the Debian systems.

Your first Debian package

First, you will need to pull all the required dependencies required to build any package – please ensure that you have some deb-src entries in your sources.list (using Synaptic or your good old fashioned CLI editor) or else you will get a “E: You must put some ‘source’ URIs in your sources.list” error.

apt-get update
apt-get install build-essential devscripts debhelper

(more…)