Debian apt-get repository

Solution 1:

As you already have it all set up, then the steps outlined in this blog post will probably be enough to get you going in the right direction.

Solution 2:

I find reprepro a great tool for this. It makes repository creation and maintenance a piece of cake. Here's some pruned instructions from the manual:

  1. Decide where you will place your repository (YOURBASEDIR=/path/to/custom/repo).
  2. Create a directory structure (mkdir -p $YOURBASEDIR/conf).
  3. Create a text file in there (editor $YOURBASEDIR/conf/distributions) and add this:

    Codename: custom_repo
    Components: main
    Architectures: i386
    
  4. Add your package:

    reprepro --basedir $YOURBASEDIR includedeb custom_repo ourpkgname_1.0.1-0_all.deb
    
  5. Add this line to your "/etc/apt/sources.list":

    deb file:/path/to/custom/repo custom_repo main
    
  6. Then the usual apt-get update && apt-get upgrade, after which your version 1.0.1-0 is an apt-get away.

This tool is quiet capable, so if you want more than this simple use-case (e.g. if you want to import your current custom repo, or if you want to add gpg signatures), go have a look at the website and/or the manpage.

Solution 3:

Take a look at this page in the Debian Repository HOWTO

HTH

Fran