This git repository handles the Linux package-manager publication flow for all raml-dev projects.
It manages repositories for the following package managers:
- apt (Debian/Ubuntu)
- dnf/yum (Fedora)
- pacman (Arch Linux)
We use Cloudflare R2 as the storage backend for the repositories, but the scripts can be easily adapted to use any other S3-compatible storage backend.
Add the repo:
sudo install -d -m0755 /etc/apt/keyrings
curl -fsSL https://linux-packages.raml.workers.dev/apt/raml-dev-archive-keyring.asc \
| sudo gpg --dearmor -o /etc/apt/keyrings/raml-dev-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/raml-dev-archive-keyring.gpg] https://linux-packages.raml.workers.dev/apt stable main" \
| sudo tee /etc/apt/sources.list.d/raml-dev.list
sudo apt updateTo remove it:
sudo rm -f /etc/apt/sources.list.d/raml-dev.list
sudo rm -f /etc/apt/keyrings/raml-dev-archive-keyring.gpg
sudo apt updateAdd the repo:
sudo curl -fsSL https://linux-packages.raml.workers.dev/rpm/raml-dev.repo \
-o /etc/yum.repos.d/raml-dev.repoTo remove it:
sudo rm -f /etc/yum.repos.d/raml-dev.repoAdd the repo:
curl -fsSL https://linux-packages.raml.workers.dev/arch/raml-dev-pacman-key.asc \
-o /tmp/raml-dev-pacman-key.asc
sudo pacman-key --add /tmp/raml-dev-pacman-key.asc
sudo pacman-key --lsign-key 'raml-dev Arch Repository'
sudo tee -a /etc/pacman.conf >/dev/null <<'EOF'
[raml-dev]
SigLevel = Required
Server = https://linux-packages.raml.workers.dev/arch/$arch
EOF
sudo pacman -Sy
sudo pacman -S soloTo remove it:
sudo pacman -R solo
sudo sed -i '/^\[raml-dev\]$/,/^$/d' /etc/pacman.conf
sudo pacman -SyThis project is licensed under the MIT License - see the LICENSE file for details.