Files
linux-registry-usage/README.md

61 lines
1.5 KiB
Markdown
Raw Normal View History

# Linux Registry Usage
These are the usage instructions for the cloudyne package repository for linux packages
## Aptitude
### Supported Distributions:
Debian:
- buster (10)
- bullseye (11)
- bookworm (12)
Ubuntu:
- focal (20.04)
- jammy (22.04)
- lunar (23.04)
- mantic (23.10)
### Usage
2024-12-18 00:02:45 +00:00
#### Ubuntu/Debian
```bash
# Ensure prerequisites are installed
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://pkg.cloudyne.io/debian/repository.key -o /etc/apt/trusted.gpg.d/cloudyne.asc
# Add the package repository
source /etc/os-release
2024-09-27 14:28:09 +00:00
echo "deb https://pkg.cloudyne.io/debian all main" | sudo tee /etc/apt/sources.list.d/cloudyne.list
# For some packages you need the version-specific repository
echo "deb https://pkg.cloudyne.io/debian ${VERSION_CODENAME} main" | sudo tee /etc/apt/sources.list.d/cloudyne.list
# Check that the repository works
sudo apt-get update
2024-12-18 00:02:45 +00:00
```
### Alpine
```bash
# get and save the key
cd /etc/apk/keys && curl -JO https://git.cloudyne.io/api/packages/linux/alpine/key
# Add the following line to /etc/apk/repositories
echo 'https://git.cloudyne.io/api/packages/linux/alpine/all/repository' >> /etc/apk/repositories
# Update
apk update
```
### RPM
```bash
# on RedHat based distributions
dnf config-manager --add-repo https://git.cloudyne.io/api/packages/linux/rpm.repo
# on SUSE based distributions
zypper addrepo https://git.cloudyne.io/api/packages/linux/rpm.repo
# Install
dnf install vvv
```
### RPM