#!/bin/bash # To add this repository please do: if [ "$(whoami)" != "root" ]; then SUDO=sudo fi # install needed packages ${SUDO} apt install wget lsb-release # install the TAKE3 key ${SUDO} wget -O /usr/share/keyrings/take3-archive-keyring.gpg https://apt.take3.ro/take3-archive-keyring.gpg # install main repo ${SUDO} sh -c 'echo "deb [signed-by=/usr/share/keyrings/take3-archive-keyring.gpg] https://apt.take3.ro/debian $(lsb_release -sc) main contrib non-free" >> /etc/apt/sources.list.d/take3.list' # install backports repo ${SUDO} sh -c 'echo "deb [signed-by=/usr/share/keyrings/take3-archive-keyring.gpg] https://apt.take3.ro/debian $(lsb_release -sc)-backports main contrib non-free" >> /etc/apt/sources.list.d/take3.list' # for specific components instead of "main contrib non-free" have a look under https://apt.take3/ro/debian/dists # and create the wished repo manually in /etc/apt/sources.list.d. ${SUDO} apt-get update