wiki:Linux/Ubuntu/Packages/Building

Building Ubuntu .deb Packages

Build tools:

apt-get install fakeroot devscripts build-essential python-all-dev

An example with mod-wsgi:

dget -x ftp://debian.netcologne.de/debian/pool/main/m/mod-wsgi/mod-wsgi_2.0~c1-2.dsc
cd mod-wsgi-2.0~c1
fakeroot debian/rules clean
fakeroot debian/rules binary
cd ..
sudo dpkg -i libapache2-mod-wsgi_2.0~c1-2.deb