Install Telegram Desktop App in Linux Ubuntu Terminal: Step-by-Step

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:

  1. Using the official Telegram Desktop PPA (for Ubuntu and derivatives)
  2. Downloading the official Linux binary

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:

  1. Open a terminal window.
  2. Add the Telegram Desktop PPA to your sources list:
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:

  1. Go to the Telegram Desktop website and download the Linux binary.
  2. Open a terminal window and navigate to the directory where you downloaded the binary file.
  3. Make the binary file executable:
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:

  • Make sure that you have added the Telegram Desktop PPA to your sources list and that you have updated your sources list.
  • Make sure that you have made the Telegram Desktop binary file executable and that you have moved it to the /usr/bin directory.
  • Make sure that you have created a desktop entry for the Telegram Desktop app.
  • Try restarting your computer.

If you are still having problems, you can search for help online or contact Telegram support for assistance.

#telegram #linux #ubuntu 

Install Telegram Desktop App in Linux Ubuntu Terminal: Step-by-Step
1.05 GEEK