arrow_back How to get started in open source
What, how and why of Debian packaging arrow_forward
Workshop on Debian Packaging
Submitted by Sruthi Chandran (@srud) on Sunday, 13 November 2016
This will be a hands-on session as a follow-up of “What, how and why of Debian packaging” session
Initially, steps in packaging will be demonstrated by packaging one nodejs-module (server-side js).
In the second stage, tasks will be assigned to the attendees which they have to do individually.
Tools used in packaging
Steps in packaging
You MUST have attended the session “What, how and why of Debian packaging”
You MUST have a debian unstable system (physical, virtual machine or a container) If you already have a GNU/Linux system, lxc would be the easiest to setup sudo apt-get install lxc && lxc-create -n debian-sid -t debian — -r sid
See http://blog.scottlowe.org/2013/11/25/a-brief-introduction-to-linux-containers- with-lxc/ for more info on using lxc. You’ll have to use lxc-attach instead of lxc-console to connect to the container. Create a new user with adduser and switch to that user with su - <username>.
Install packaging tools
# apt-get install dh-make gem2deb npm2deb
Understand how a basic command line program is created and installed using a simple Makefile
See https://git.fosscommunity.in/praveen/hello for an example
Get a basic overview of packaging from Debian New Maintainer’s Guide
I am basically a Librarian who got introduced to Debian just an year back - currently a Debian Maintainer.
I have packaged more than 100 Debian packages which includes node-modules, ruby-gems and fonts.
I have also conducted a couple of packaging workshops including one in Amal Jyothi College of Engineering, in addition to the general mentoring activity.