Thursday, January 5, 2012

Creating own repository

I am interested in creating an own repository.

On the web-server i need in the simplest way 3 files:


Create a directory, and store the .deb file there.
Then i run apt-ftparchive:
apt-ftparchive packages . > Packages

and compress it with gzip:
gzip -9 Packages

Then creating release file with:
apt-ftparchive release . > Release

Now i sign the Release file with gpg:
gpg -u --output Release.gpg -ba Release

The three files i store at a webserver and now i can add this line to:
deb ./

German tutorial is here:

No comments:

Post a Comment