Okay, so my system is setup after part 1 in this series. Next on the agenda is:

Follow the tutorials

I found the following ones on the Ubuntu wiki:

Packaging 101 – Part 1
Packaging 101 – Part 2

Be aware that the version of ed used in part 1 is no longer available so I had to download it from this site.

Setup a virtual machine for testing

Now, you don’t want to clutter up your system with packages that don’t necessarily work and could potentially break things. The solution is to use VirtualBox. You could also use VMware but I found VirtualBox to be more lightweight to setup.

Virtualbox screenshot

It’s a good idea to install the Guest Additions in the guest operating system as it makes it easier to use when switching between the host and guest OS. The other awesome feature of VirtualBox is snapshots. It gives me the ability to install software, and then rollback the machine to a previous state. Dark Magic! As a side note, I found it much easier to just share files over the network connection than use shared folders.

So I installed my tutorial .deb file on the guest machine and was very surprised that it all worked. Even though it was just a tutorial, I didn’t think packaging was that easy.

Joined the community

I found the MOTU (Masters of the Universe) channel on freenode: #ubuntu-motu. If you have any questions about packaging you can speak to the guys on there. e.g.

<rjnienaber> okay, i’ve created a .deb file, what’s the next step after that?
<rjnienaber> getting it reviewed?
<geser> !revu
<ubottu> REVU is a web-based tool to give people who have worked on Ubuntu packages a chance to “put their packages out there” for other people to look at and comment on in a structured manner. See https://wiki.ubuntu.com/MOTU/Packages/REVU
<rjnienaber> ta

Now I’m not actually going to upload the tutorial .deb. I need to find something new that I can package. You’ll have to wait till part 3…