Telegram is a popular messaging app that is available on a variety of platforms, including Linux. If you're using Ubuntu and you want to install the Telegram desktop app, you can do so using the terminal. This article provides step-by-step instructions on how to install Telegram Desktop on Ubuntu using the terminal.
There are two ways to install the Telegram Desktop app in Linux Ubuntu terminal:
Using the official Telegram Desktop PPA (for Ubuntu and derivatives)
To install the Telegram Desktop app using the official Telegram Desktop PPA, follow these steps:
sudo add-apt-repository ppa:telegram-team/ppa
3. Update your sources list:
sudo apt update
4. Install the Telegram Desktop app:
sudo apt install telegram-desktop
Enter your password when prompted.
Once the installation is complete, you can launch the Telegram Desktop app from the Activities menu.
Downloading the official Linux binary
To install the Telegram Desktop app by downloading the official Linux binary, follow these steps:
chmod +x Telegram-desktop
4. Move the binary file to the /usr/bin
directory:
sudo mv Telegram-desktop /usr/bin
5. Create a desktop entry for the Telegram Desktop app:
sudo nano /usr/share/applications/telegram-desktop.desktop
Copy and paste the following text into the file:
[Desktop Entry]
Type=Application
Name=Telegram Desktop
Exec=/usr/bin/Telegram-desktop
Icon=/usr/bin/Telegram-desktop
Terminal=false
Categories=Communication;
Save the file and exit the text editor.
Log out and back in to your user account.
Once you have logged back in, you can launch the Telegram Desktop app from the Activities menu.
Troubleshooting
If you are having problems installing the Telegram Desktop app, you can try the following:
/usr/bin
directory.If you are still having problems, you can search for help online or contact Telegram support for assistance.