registry-usage/README.md

40 lines
979 B
Markdown
Raw Normal View History

2024-05-10 11:18:23 +00:00
# registry-usage
2024-05-10 11:27:10 +00:00
These are instructions for how to use the Hoglandet Linux Package registry
## Debian
```bash
# 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
```bash
# 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
```bash
dnf config-manager --add-repo https://linux.pkg.hoglan.dev/linux/rpm.repo
```