From 94619edf735f2f14fb69d6a0d7fbc053e64d50eb Mon Sep 17 00:00:00 2001 From: h7x4 Date: Thu, 4 Dec 2025 15:24:35 +0900 Subject: [PATCH] docs/installation: add instructions for installing apt repo --- docs/installation.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 107ade0..b90cd5d 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -1,8 +1,25 @@ # Installation and configuration -## Installing with deb on Debian/Ubuntu +## Installing with deb on Debian -**TODO:** write this section once the package has been pushed to the gitea package repository. +You can install muscl by adding the muscl apt repository and installing the package: + +```bash +# Check the version of your Debian installation +VERSION_CODENAME=$(lsb_release -cs) + +# Add the repository +echo "deb [signed-by=/etc/apt/keyrings/pvvgit-projects.asc] https://git.pvv.ntnu.no/api/packages/Projects/debian $VERSION_CODENAME main" | sudo tee -a /etc/apt/sources.list.d/gitea.list + +# Pull the repository key +sudo curl https://git.pvv.ntnu.no/api/packages/Projects/debian/repository.key -o /etc/apt/keyrings/pvvgit-projects.asc + +# Update package lists +sudo apt update + +# Install muscl +sudo apt install muscl +``` ## Creating a database user