16 lines
641 B
Bash
16 lines
641 B
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
|
||
|
|
||
|
echo -e "\nSignal installed! 🎉"
|