#!/usr/bin/env bash # Add the public software signing key wget -O- -q --show-progress https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg cat signal-desktop-keyring.gpg | sudo tee -a /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null # Remove the GPG key rm signal-desktop-keyring.gpg # Add the repository to the list echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' | sudo tee -a /etc/apt/sources.list.d/signal-xenial.list # Install the app sudo apt update sudo apt install signal-desktop -y echo -e "\nSignal installed! 🎉"