Created
August 15, 2020 12:00
-
-
Save SAVE-UP/a65fb0d170560fc04ac04b23607ac4be to your computer and use it in GitHub Desktop.
Install Telegram on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
{ | |
echo "This script requires superuser access to install apt packages." | |
echo "You will be prompted for your password by sudo." | |
# clear any previous sudo permission | |
sudo -k | |
# run inside sudo | |
sudo sh <<SCRIPT | |
# add PPA atareao/telegram | |
sudo add-apt-repository ppa:atareao/telegram | |
# update your sources | |
apt-get update | |
# install telegram | |
apt-get install -y telegram | |
# install telegram if needed | |
# if ! type telegram >/opt/telegram/null 2>&1; then | |
apt-get install -y telegram | |
# fi | |
SCRIPT | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment