Create apt-gettable debian packages
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 ./
Add New Comment
Viewing 2 Comments
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Add New Comment