The commands below must be run as root
Current list of valid codenames:
Requirements for apt-key
aptitude update&&aptitude install -y gnupg
Requirements for automatic scripts below
aptitude update&&aptitude install -y wget lsb-release
Optional (if you want to use https)
aptitude update&&aptitude install -y apt-transport-https
HTTP | HTTPS |
---|---|
#!/bin/bash codenames="wheezy|jessie|stretch|buster|bullseye|bookworm" if [ "$UID" != "0" ]; then echo>&2 "You must run this script as root" exit 1 fi wget -qO /etc/apt/trusted.gpg.d/pkg.celforyon.fr.asc https://pkg.celforyon.fr/dl/pkg.celforyon.fr.asc codename=$(lsb_release -sc) while echo $codename|grep -Evq "^($codenames)$"; do echo -n "Select a codename ($codenames): " read codename done echo>/etc/apt/sources.list.d/pkg.celforyon.list "deb [arch=amd64] http://pkg.celforyon.fr/ $codename main" |
#!/bin/bash codenames="wheezy|jessie|stretch|buster|bullseye|bookworm" if [ "$UID" != "0" ]; then echo>&2 "You must run this script as root" exit 1 fi wget -qO /etc/apt/trusted.gpg.d/pkg.celforyon.fr.asc https://pkg.celforyon.fr/dl/pkg.celforyon.fr.asc codename=$(lsb_release -sc) while echo $codename|grep -Evq "^($codenames)$"; do echo -n "Select a codename ($codenames): " read codename done echo>/etc/apt/sources.list.d/pkg.celforyon.list "deb [arch=amd64] https://pkg.celforyon.fr/ $codename main" |
HTTP | HTTPS |
---|---|
wget -O/tmp/install.sh https://pkg.celforyon.fr/dl/install_http.php&&chmod +x /tmp/install.sh&&/tmp/install.sh |
wget -O/tmp/install.sh https://pkg.celforyon.fr/dl/install_https.php&&chmod +x /tmp/install.sh&&/tmp/install.sh |