Inhaltsverzeichnis

Host an apt repo

Big thanks to https://earthly.dev/blog/creating-and-hosting-your-own-deb-packages-and-apt-repo/

Live system at pkg.julian-lemmerich.de/deb

Setup

sudo apt-get install -y dpkg-dev gpg

Start at Step 2, i already have built .deb packages

Adding a new package:

~ is root of webserver, like pkg.julian-lemmerich.de

This Folder (~/deb/pool/main/) contains all the packages. Create subfolder for the packages for easier management. Like ./i/ical-relay/

Add a new debian file to the ~/deb/pool/main/<letter>/<package> and then

Run the script from https://github.com/jm-lemmi/apt-repo. apt-repo.sh <file.deb> <stable/testing>

The filename here is not a relative path, but just the filename.

Install repo

echo "deb [arch=amd64] http://pkg.julian-lemmerich.de/deb stable main" | tee /etc/apt/sources.list.d/jm-lemmi.list
curl http://pkg.julian-lemmerich.de/deb/gpg.key | apt-key add -
apt update
apt install ical-relay

Watch out

The paths in Packages are relative paths!

See also