Find out how to Set up and Set Up Telegram on Linux

Telegram is a popular instant messaging platform that allows you to send messages, make VoIP calls, and share files on mobile devices as well as on your desktop.

If you use Telegram a lot for all of your communications – and only have it on your phone – you may want to install it on your desktop too, so you can answer calls and messages from your desk.

However, if you're running Linux, installing Telegram can be a bit complicated – just like installing other software. To make things easier, here is a guide to help you install Telegram on your Linux computer.

Install Telegram on Debian-based distributions

Installing Telegram on Debian-based distributions is the easiest. So if you are running Debian, Ubuntu, Linux Mint, or the like, you can install Telegram Desktop on your computer with the help of the following steps.

First, start the Terminal app. Next, update your system's repository list and load the Telegram desktop Package with APT.

sudo apt update
sudo apt install telegram-desktop

When prompted, enter Yes and press Enter keep going. Depending on your internet connection, it will take some time for Telegram Desktop to be installed on your computer.

Once it's installed you can start Telegram either by finding it in the application menu or by typing it in telegram in the terminal.

If you want to uninstall Telegram Desktop from your system, you can do so by doing the following:

sudo apt remove telegram desktop

How to install Telegram Desktop on other distributions

Unlike Debian-based distributions, installing Telegram on other Linux distributions is not that easy. However, our goal is to simplify the process for you with the help of the following steps.

On your Fedora or Arch-based computer, download the Telegram Desktop TAR archive from the official website.

Download: Telegram desktop

Next, start the terminal and use the cd command as shown below to navigate to the directory where you downloaded the tar archive.

cd ~ / Downloads

In most cases, unless you've changed the directory setting, it should Downloads Directory.

In the directory, enter the following command to extract the tar file into the / opt Directory:

sudo tar xvf tsetup.x.x.x.tar.xz -C / opt

Once extracted, the / opt / telegram Directory stores all binary and optional telegram sources. Now we need to create a symbolic link for this binary in the / usr / bin Directory that allows us to run Telegram from any other directory on the system.

To do this, do the following:

sudo ln -sf / opt / telegram / telegram / usr / bin / telegram

Once that's done you should be able to start Telegram from the applications menu. You can also run it from the terminal by simply typing the telegram Command – regardless of your current working directory.

Download the Telegram Snap or Flathub package

Since installing Telegram using the archive requires running a few commands, it can be intimidating for some, especially if you're new to Linux. An alternative way to do this is to install Telegram using third-party package formats like Snap and Flatpak.

Install telegram via snap

First, verify that you have Snap installed on your system by running the following command:

snap

If it doesn't exist, install Snap first.

With Snap running on your computer, run the following command to install Telegram:

sudo snap install telegram-desktop

If at any time you want to remove Telegram from your computer, do the following:

sudo snap remove Telegram desktop

Install Telegram via Flatpak

First, make sure your system has Flatpak again. You can do this by running:

Flatpak

If Flatpak is missing, install it using the appropriate method depending on your distribution. Once installed, enter the following command to install Telegram over Flatpak:

Install flatpak flathub org.telegram.desktop

If you want to uninstall Telegram Desktop, use:

Uninstall flatpak flathub org.telegram.desktop

Related: An Introduction to Downloading Software Using Flatpak

How to set up Telegram Desktop

With Telegram Desktop installed, now is the time to set it up. You can do this in a number of ways as shown below.

First, run Telegram Desktop – either from the terminal or from the application menu.

On the welcome screen, click the Start messages Button. Now you can either sign in with your phone number or scan the QR code to get started.

To use the scanning method, pull out your smartphone and open Telegram. You need to have the Telegram app on your smartphone. Go to Settings> Devices> Scan QR code, and point your device's camera at the QR code shown in the Telegram desktop app.

Picture gallery (2 pictures)

Once you're done, all of your chats (except secret chats), channels, and groups will appear on your Telegram desktop client, and you should be able to make calls and send messages with no problem.

Alternatively, you can also log in with your telephone number. To do this, click on the Or log in with your phone number Option under the QR code and enter your phone number on the next screen.

Blow Next. Enter the OTP on the following screen and click Next again.

You can now see all of your chats and groups through the Telegram smartphone app.

If you ever need to sign out, click the hamburger menu in the top left and select settings. Here click on the three-dot menu and select Log out.

To view all of your active sessions, go to Settings> Devices.

Successful installation of Telegram Desktop on Linux

With this guide, you should be able to install and set up Telegram on your Linux computer with ease. And then you should be able to use the program to make phone calls, answer chats and groups, just like you would on your mobile phone.

Alternatively, you can use Telegram Web via a browser if you don't want a dedicated client for Telegram on your desktop. One of the advantages of this route is that you can access multiple Telegram accounts at the same time through different browser tabs and windows.

If you're new to Telegram, you may not know what useful features the app offers its users.

12 Useful Telegram Features That You Should Use When You Are Not

Here are the best Telegram features that you should really be using to get the most out of the app.

Continue reading

About the author

Yash Wate
(31 published articles)

Yash is Staff Writer at MUO for DIY, Linux, programming and security. Before he discovered his passion for writing, he developed for the web and iOS. You can also find his writing on TechPP where he covers other industries. In addition to technology, he likes to talk about astronomy, Formula 1 and clocks.

More
By Yash Wate

Subscribe to our newsletter

Subscribe to our newsletter for tech tips, reviews, free e-books, and exclusive offers!

Click here to subscribe

Leave a Reply

Your email address will not be published. Required fields are marked *