Archiving tools

Archive-format tooling. One repository serves all supported distributions.

openSUSE:
zypper ar -f obs://home:lewellyn:archiving home:lewellyn:archiving

Fedora / RHEL / Alma / Rocky / Oracle / CentOS Stream / Mageia:
. /etc/os-release
case "$ID" in
fedora) D=Fedora; V=$VERSION_ID;;
rhel|almalinux|rocky|ol|centos) D=AlmaLinux; V=${VERSION_ID%%.*};; # RHEL: enable CodeReady Builder first
mageia) D=Mageia; V=$VERSION_ID; grep -q Cauldron /etc/mageia-release 2>/dev/null && V=Cauldron;;
*) echo "unsupported: $ID"; exit 1;;
esac
sudo dnf config-manager --add-repo "https://download.opensuse.org/repositories/home:/lewellyn:/archiving/${D}_${V}/home:lewellyn:archiving.repo"
sudo dnf update

Debian / Ubuntu / Raspbian:
. /etc/os-release
case "$ID" in debian) D=Debian;; ubuntu) D=xUbuntu;; raspbian) D=Raspbian;; \
*) echo "unsupported: $ID"; exit 1;; esac
echo "deb https://download.opensuse.org/repositories/home:/lewellyn:/archiving/${D}_${VERSION_ID}/ /" \
| sudo tee /etc/apt/sources.list.d/home-lewellyn-archiving.list
curl -fsSL https://download.opensuse.org/repositories/home:/lewellyn:/archiving/${D}_${VERSION_ID}/Release.key \
| gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home-lewellyn-archiving.gpg >/dev/null
sudo apt update

Alpine:
echo https://download.opensuse.org/repositories/home:/lewellyn:/archiving/Alpine_Latest/ \
| sudo tee -a /etc/apk/repositories
sudo curl -fsSL -o /etc/apk/keys/obs-home-lewellyn-archiving.rsa.pub \
"https://download.opensuse.org/repositories/home:/lewellyn:/archiving/Alpine_Latest/x86_64/home:lewellyn@build.opensuse.org-6ad3a831.rsa.pub"
sudo apk update

Arch:
printf '\n[home_lewellyn_archiving]\nServer = https://download.opensuse.org/repositories/home:/lewellyn:/archiving/Arch/$arch\n' \
| sudo tee -a /etc/pacman.conf >/dev/null
curl -fsSL https://download.opensuse.org/repositories/home:/lewellyn:/archiving/Arch/x86_64/home_lewellyn_archiving_Arch.key \
| sudo pacman-key --add -
sudo pacman-key --lsign-key home:lewellyn@build.opensuse.org

Name Changed
Comments 0
No comments available
openSUSE Build Service is sponsored by