63.11 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 * user@togaware.com@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.



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0