19 lines
619 B
Markdown
19 lines
619 B
Markdown
|
|
# Linux Registry Usage
|
||
|
|
These are the usage instructions for the cloudyne package repository for linux packages
|
||
|
|
|
||
|
|
## Aptitude
|
||
|
|
```bash
|
||
|
|
# Ensure prerequisites are installed
|
||
|
|
apt-get update
|
||
|
|
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
|
||
|
|
sudo echo "deb https://pkg.cloudyne.io/debian ${VERSION_CODENAME} main" | tee /etc/apt/sources.list.d/cloudyne.list
|
||
|
|
|
||
|
|
# Check that the repository works
|
||
|
|
sudo apt-get update
|
||
|
|
```
|