Add readme
Added instructions for APT repository
This commit is contained in:
19
README.md
Normal file
19
README.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user