PackagingBasics

Differences between revisions 1 and 2
Revision 1 as of 2006-08-09 00:02:42
Size: 294
Editor: lambda
Comment:
Revision 2 as of 2006-08-10 05:53:09
Size: 1058
Editor: adsl-75-14-221-43
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Before we begin = == Before we begin ==
Line 4: Line 4:

Also, it would be a great help if you can create an edgy pbuilder before class starts:

1. If you are running Edgy skip to step 2. If you are running Dapper download Edgy's debootstrap from [http://packages.ubuntu.com/cgi-bin/download.pl?arch=all&file=pool%2Fmain%2Fd%2Fdebootstrap%2Fdebootstrap_0.3.3.0ubuntu3_all.deb&md5sum=17dd4c70a76bd2aa33e8e095dec19b11&arch=all&type=main packages.ubuntu.com] and install it with dpkg -i
  
2. Install pbuilder {{{sudo apt-get install pbuilder}}}

3. Create a pbuilder by running:
{{{
sudo pbuilder create --distribution edgy \
 --othermirror "deb http://archive.ubuntu.com/ubuntu edgy universe multiverse"
}}}

4. Wait. debootstrap is creating a minimal ubuntu chroot environment so it can take some time.

Before we begin

  • There are a lot of useful script and apps that have been developed over the years to make packaging .debs easier. I'll be using several of them in my session. If you want a head start install:

devscripts debhelper cdbs dh-make patchutils fakeroot lintian pbuilder

Also, it would be a great help if you can create an edgy pbuilder before class starts:

1. If you are running Edgy skip to step 2. If you are running Dapper download Edgy's debootstrap from [http://packages.ubuntu.com/cgi-bin/download.pl?arch=all&file=pool%2Fmain%2Fd%2Fdebootstrap%2Fdebootstrap_0.3.3.0ubuntu3_all.deb&md5sum=17dd4c70a76bd2aa33e8e095dec19b11&arch=all&type=main packages.ubuntu.com] and install it with dpkg -i

2. Install pbuilder sudo apt-get install pbuilder

3. Create a pbuilder by running:

sudo pbuilder create --distribution edgy \
        --othermirror "deb http://archive.ubuntu.com/ubuntu edgy universe multiverse"

4. Wait. debootstrap is creating a minimal ubuntu chroot environment so it can take some time.

MOTU/School/PackagingBasics (last edited 2008-08-06 16:28:25 by localhost)