Update README.md
This commit is contained in:
parent
52e2d2f649
commit
cff79910d7
39
README.md
39
README.md
|
@ -1,3 +1,40 @@
|
|||
# registry-usage
|
||||
|
||||
How to use the Hoglandet linux registry
|
||||
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
|
||||
```
|
Loading…
Reference in New Issue