Posts

Showing posts from February, 2012

How to set up a simple deb repository: Distilled Instructions

This is tutorial for setting the most simple working deb repository, tested on Linux Mint 10 (Ubuntu 10.10, in other words). I used reprepro  for this task -  an utility to create and manage Debian repositories. You can get it from standard repositories: sudo apt-get install reprepro Now, to actual repo creation. I was creating a repository at /var/www/repo/, you can create it anywhere, as long as Apache is able to reach it. mkdir /var/www/repo/ cd /var/www/repo/ # base directory for reprepro mkdir conf/ # directory for reprepro configuration files echo ' Origin: <project name> Label: <project name> Codename: <osrelease> # maverick, in my case Architectures: i386 amd64 Components: main Description: <description> # if you need to distribute packages for more os versions (natty, for example) # just add another block, separated by empty line ' > conf/distributions reprepro -v export <osrelease> It's done! Now you can add your packages by