Go to TogaWare.com Home Page.
GNU/Linux Desktop Survival Guide
by Graham Williams
Google

Adding the Package to Your Archive


Once the package is correctly built load it onto your Debian archive to provide it for others to access:

  $ cp wajig_2.0.20* /var/www/debian/
  $ cd /var/www/debian/
  $ apt-ftparchive packages . > Packages
  $ apt-ftparchive sources  . > Sources
  $ gzip -c Packages > Packages.gz
  $ gzip -c Sources  > Sources.gz
  $ chmod go+r *

If this is not the machine hosting your web server, copy the files across:

  $ scp -p * [email protected]@togaware.com:/var/www/html/debian/

You will need to add the appropriate line to your /etc/apt/sources.list file:



  deb http://www.togaware.com/debian ./
  deb-src http://www.togaware.com/debian ./

If you are a Debian developer you would upload the package directly to the Debian archives using the dupload tool instead of onto your own archive.


Copyright © 1995-2006 [email protected]
Contribue and access the PDF Version