- Choose a directory (or create it).
- Create a subdirectory called conf in there.
- In the conf/ subdirectory create a file called distributions,
with content like:
Codename: mystuff
Components: main bad
Architectures: sparc i386 source
or with content like:
Codename: andy
Suite: rusty
Components: main bad
Architectures: sparc i386 source
Origin: myorg
Version: 20.3
Description: my first little repository
(Multiple distributions are separated by empty lines, Origin, Version and Description
are just copied to the generated Release files, more things controlling reprepro can
appear which are described later).
- If your conf/distributions file contained a Suite: and you
are too lazy to generate the symbolic links yourself, call:
reprepro -b $YOURBASEDIR createsymlinks
- Include some package, like:
reprepro -b $YOURBASEDIR include mystuff mypackage.changes
or:
reprepro -b $YOURBASEDIR includedeb mystuff mypackage.deb
- Take a look at the generated pool and dists
directories. They contain everything needed to apt-get from.
Tell apt to include it by adding the following to your sources.list:
deb file:///$YOURBASEDIR mystuff main bad
or make it available via http or ftp and do the same http:// or ftp:// source.