JB's Homepage

One man on one island.

Create apt-gettable debian packages

Comments

I was suprised this information wasn’t contained more prominently in the APT-HOWTO. It’s very useful to have your own packages, especially in a format you can download them.

First of all install the ‘dpkg-dev’ package, create a directory to hold your packages and source files then run:

dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
dpkg-scansources . /dev/null | gzip -9c > Sources.gz

et voila you should now have a repository which is apt-gettable! (ripped from www.steve.org.uk)

Simply throw it on a Apache web server and add something like this

deb http://localhost/apt ./
deb-src http://localhost/apt ./

Written by JB Hewitt

October 28th, 2004 at 3:28 pm

Posted in Documentation,Linux

Viewing 2 Comments

 
close Reblog this comment
blog comments powered by Disqus