# 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 #### 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 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 ``` ### 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 --nogpgcheck ``` ### RPM