Update readme

Fix sudo, add supported distros
This commit is contained in:
2024-01-11 09:20:13 +00:00
parent bc30b771b9
commit dfd8c69646

View File

@@ -2,17 +2,28 @@
These are the usage instructions for the cloudyne package repository for linux packages These are the usage instructions for the cloudyne package repository for linux packages
## Aptitude ## Aptitude
### Supported Distributions:
Debian:
- buster (10)
- bullseye (11)
- bookworm (12)
Ubuntu:
- focal (20.04)
- jammy (22.04)
- lunar (23.04)
- mantic (23.10)
### Usage
```bash ```bash
# Ensure prerequisites are installed # Ensure prerequisites are installed
apt-get update sudo apt-get update
apt-get -y install gnupg2 apt-transport-https curl sudo apt-get -y install gnupg2 apt-transport-https curl
# Download and import the public key for verifying packages # Download and import the public key for verifying packages
sudo curl https://pkg.cloudyne.io/debian/repository.key -o /etc/apt/trusted.gpg.d/cloudyne.asc sudo curl https://pkg.cloudyne.io/debian/repository.key -o /etc/apt/trusted.gpg.d/cloudyne.asc
# Add the package repository # Add the package repository
source /etc/os-release source /etc/os-release
sudo echo "deb https://pkg.cloudyne.io/debian ${VERSION_CODENAME} main" | tee /etc/apt/sources.list.d/cloudyne.list echo "deb https://pkg.cloudyne.io/debian ${VERSION_CODENAME} main" | sudo tee /etc/apt/sources.list.d/cloudyne.list
# Check that the repository works # Check that the repository works
sudo apt-get update sudo apt-get update