#!/bin/bash
# https://wiki.tox.im/Binaries#Apt.2FAptitude_.28Debian.2C_Ubuntu.2C_Mint.2C_etc..29
#remove old key
sudo apt-key del 0C2E03A0
#install new Tox Key+Repository
sudo sh -c 'echo "deb https://repo.tox.im/ nightly main" > /etc/apt/sources.list.d/toxrepo.list'
wget -qO - https://repo.tox.im/pubkey.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https #for https repos
sudo apt-get update -qq
echo "Tox Repository Installed."
echo "You can now install utox, qtox, toxic, ratox or tox-bootstrapd"
echo "Installing toxic+qtox..."
sudo apt-get install toxic qtox


syntax highlighted by Code2HTML, v. 0.9.1