How to use the Hoglandet linux registry
Go to file
larsch cff79910d7 Update README.md 2024-05-10 11:27:10 +00:00
README.md Update README.md 2024-05-10 11:27:10 +00:00

README.md

registry-usage

These are instructions for how to use the Hoglandet Linux Package registry

Debian

# Install prerequisites
sudo apt-get update 
sudo apt-get -y install gnupg2 apt-transport-https curl

# Download and import the public key for verifying packages
sudo curl https://linux.pkg.hoglan.dev/debian/repository.key -o /etc/apt/trusted.gpg.d/hoglandet.asc

# Add the package repository
echo "deb https://deb.pkg.hoglan.dev/debian stable main" | sudo tee /etc/apt/sources.list.d/hoglandet.list

# Check that the repository works
sudo apt-get update

Alpine

# Install prerequisites
apk add --no-cache curl

# Install the signing key
curl -JO --output-dir /etc/apk/keys https://linux.pkg.hoglan.dev/alpine/key

# Add the repository
echo 'https://linux.pkg.hoglan.dev/alpine/stable/main' >> /etc/apk/repositories

# Update the package list
apk update

RPM

dnf config-manager --add-repo https://linux.pkg.hoglan.dev/linux/rpm.repo