# 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 # Prev: sudo curl https://pkg.cloudyne.io/debian/repository.key -o /etc/apt/keyrings/cloudyne.asc sudo curl https://pkg.cloudyne.io/debian/repository.key -o /etc/apt/keyrings/cydeb.asc # Add the package repository # Prev source /etc/os-release # Prev 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 # Prev echo "deb https://pkg.cloudyne.io/debian ${VERSION_CODENAME} main" | sudo tee /etc/apt/sources.list.d/cloudyne.list echo "deb [signed-by=/etc/apt/keyrings/cydeb.asc] https://pkg.cloudyne.io/debian all main" | sudo tee -a /etc/apt/sources.list.d/cydeb.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