Host an apt repo

Big thanks to

Live system at


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

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 <file.deb> <stable/testing>

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

Install repo

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

Watch out

The paths in Packages are relative paths!

See also

/app/www/public/data/pages/knowledge_base/linux/apt-repo.txt · Zuletzt geändert: 2023/10/24 12:13 von julian.lemmerich