2024-01-11 09:14:49 +00:00
|
|
|
# Linux Registry Usage
|
|
|
|
|
These are the usage instructions for the cloudyne package repository for linux packages
|
|
|
|
|
|
|
|
|
|
## Aptitude
|
2024-01-11 09:20:13 +00:00
|
|
|
### Supported Distributions:
|
|
|
|
|
Debian:
|
|
|
|
|
- buster (10)
|
|
|
|
|
- bullseye (11)
|
|
|
|
|
- bookworm (12)
|
|
|
|
|
Ubuntu:
|
|
|
|
|
- focal (20.04)
|
|
|
|
|
- jammy (22.04)
|
|
|
|
|
- lunar (23.04)
|
|
|
|
|
- mantic (23.10)
|
|
|
|
|
### Usage
|
2024-01-11 09:14:49 +00:00
|
|
|
```bash
|
|
|
|
|
# Ensure prerequisites are installed
|
2024-01-11 09:20:13 +00:00
|
|
|
sudo apt-get update
|
|
|
|
|
sudo apt-get -y install gnupg2 apt-transport-https curl
|
2024-01-11 09:14:49 +00:00
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
|
# Add the package repository
|
|
|
|
|
source /etc/os-release
|
2024-01-11 09:20:13 +00:00
|
|
|
echo "deb https://pkg.cloudyne.io/debian ${VERSION_CODENAME} main" | sudo tee /etc/apt/sources.list.d/cloudyne.list
|
2024-01-11 09:14:49 +00:00
|
|
|
|
|
|
|
|
# Check that the repository works
|
|
|
|
|
sudo apt-get update
|
|
|
|
|
```
|