manOpenDG834 - Cookbook: recipe #118, Creating an apt-get repository

 
 
Show feedback again

recipe #118, Source Code Managers: Creating an apt-get repository

(We assume that you already used your download area, that everything worked well. If it is not the case, please read the related recipes first)

(We also assume that you are running a Debian or assimilated operating system, as it is more or less a prerequesite to create Debian packages)

In the commands proposed on this page, you must replace user by your login and project by your project unix name.

The first thing do is to create the directory structure. We will use the following directory structure:

Put there your packages for the relevant release:

Make sure the apt-ftparchive package is installed. Then create the Packages file, or several Packages file if you want to build several repositories. In this case, it make sense to build one repository per package:

It is a good practice to save bandwidth by compressing the Packages files:

Synchronise your directory with the download area:

Tell users what they need to add in their /etc/apt/sources.list, for instance, for the stable version:

Last update: Tue 31 Oct 2006 05:13:10 PM UTC
This recipe comes from Gna! User Docs

 

 

 

 

 

Audience and Context

Audience:
   All Project Members
Feature:
   Download Area

(As there is at least one of the Audience/Feature/Action context information not set, this recipe will not show up in related recipes links)

Show feedback again

Back to the top


Powered by Savane 3.1-cleanup