How to Install and Set Up Telegram on Linux
source link: https://www.makeuseof.com/how-to-install-set-up-telegram-linux/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
How to Install and Set Up Telegram on Linux
Published 13 hours ago
Telegram is a cross-platform messaging platform used by millions of users worldwide. Here's how you can install it on your Linux desktop.
Telegram is a popular instant messaging platform that lets you send messages, make VoIP calls, and share files, both on mobile devices and on your desktop.
If you frequently use Telegram for all of your communications—and only have it on your phone—you might want to install it on your desktop, too, to respond to calls and messages while you're at your desk.
In case you're running Linux, though, installing Telegram can be a little complicated—just like installing other software. So to simplify things, here's a guide to help you install Telegram on your Linux machine.
Install Telegram on Debian-Based Distros
Installing Telegram on Debian-based distros is the easiest. So if you're running Debian, Ubuntu, Linux Mint, or the likes, you can install Telegram Desktop on your machine with the help of the following steps.
To begin, launch the terminal app. Next, update your system's repository list and download the telegram-desktop package using APT.
sudo apt update
sudo apt install telegram-desktop
When prompted, type y and press Enter to continue. Now, depending on your internet connection, Telegram Desktop will take some time to install on your computer.
Once it's installed, you can launch Telegram by either finding it in the Applications menu or typing telegram in the terminal.
If you wish to uninstall Telegram Desktop from your system, you can do so by running:
sudo apt remove telegram-desktop
How to Install Telegram Desktop on Other Distros
Unlike Debian-based distros, installing Telegram on other Linux distros isn't as straightforward. But we aim 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, fire up 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 preference, it should be the Downloads directory.
Once inside the directory, enter the following command to extract the TAR file to the /opt directory:
sudo tar xvf tsetup.x.x.x.tar.xz -C /opt
Once extracted, the /opt/Telegram directory will store all the Telegram binary and optional sources. Now, we need to create a symbolic link for this binary file in the /usr/bin directory, which will allow us to run Telegram from any other directory on the system.
To do this, run:
sudo ln -sf /opt/Telegram/Telegram /usr/bin/telegram
As soon as that's done, you should be able to launch Telegram from the Applications menu. You can also run it from the terminal by simply issuing the telegram command—regardless of your present working directory.
Download the Telegram Snap or Flathub Package
Since installing Telegram using the archive involves running a few commands, it can be a little intimidating for some, especially if you're new to Linux. An alternative way to go about this is to install Telegram using third-party package formats like Snap and Flatpak.
Installing Telegram via Snap
First, check whether your system has Snap installed by running the following command:
snap
In case it isn't present, install Snap first.
With Snap running on your machine, run the following command to install Telegram:
sudo snap install telegram-desktop
At any point, if you wish to remove Telegram from your machine, run:
sudo snap remove telegram-desktop
Installing Telegram via Flatpak
Again, first, verify that your system has Flatpak. You can do this by running:
flatpak
If Flatpak is missing, install it using the appropriate method depending on your distro. Once installed, enter the following command to install Telegram via Flatpak:
flatpak install flathub org.telegram.desktop
In case you wish to uninstall Telegram Desktop, use:
flatpak uninstall flathub org.telegram.desktop
Related: An Introduction to Downloading Software With Flatpak
How to Set Up Telegram Desktop
With Telegram Desktop installed, it's now time to set it up. You can do this in a couple of ways, as shown below.
First, run Telegram Desktop—either via the terminal or from the Applications menu.
On the welcome screen, click on the Start Messaging button. Now, you can either log in using your phone number or scan the QR code to begin.
If you wish to go with the scan method, pull out your smartphone and open Telegram. You must have the Telegram app on your smartphone. Go to Settings > Devices > Scan QR Code, and point your device's camera to the QR code displayed on the Telegram Desktop app.
Image Gallery (2 Images)
Once done, all 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 without any issues.
Alternatively, you can also log in with your phone number. For this, click on the Or log in using your phone number option below the QR code and enter your phone number on the next screen.
Hit Next. Enter the OTP on the screen that follows and click Next again.
You'll now be able to see all your chats and groups from the Telegram smartphone app.
If you ever need to log out, click on the hamburger menu on the top-left and select Settings. Here, click on the three-dot menu and select Logout.
To see all your active sessions, go to Settings > Devices.
Successfully Installing Telegram Desktop on Linux
Using this guide, you should be able to install and set up Telegram on your Linux computer quite easily. And subsequently, you should be able to use the program to make calls, reply to chats and groups, just like you do on your mobile phone.
Alternatively, if you don't like the idea of having a dedicated client for Telegram on your desktop, you can use Telegram Web via a browser. One of the advantages of going this route is that you can access multiple Telegram accounts at once using different browser tabs and windows.
If you're new to Telegram, you might be unaware of the robust features the app offers to its users. We've compiled a list of some useful Telegram features to help you use the platform effectively.
About The Author
Yash Wate (31 Articles Published)
Yash is a Staff Writer at MUO for DIY, Linux, Programming, and Security. Before finding his passion in writing, he used to develop for the web and iOS. You can also find his writing on TechPP, where he covers other verticals. Other than tech, he enjoys talking about astronomy, Formula 1, and watches.
Subscribe to our newsletter
Join our newsletter for tech tips, reviews, free ebooks, and exclusive deals!
Recommend
-
4
How to install and set up an Azure Stack HCI Host A couple of months the Azure Stack HCI team announced a new version called
-
10
How to Install Zip and Unzip in Linux? Related Articles Improve Article How to Install Zip and Unzip in Linux?Difficulty Level :
-
11
How to Download and Install Signal Desktop on Linux By Yash Wate Published 19 hours ago...
-
14
Install and Configure FreeIPA Server on Rocky Linux 8Search ComputingForGeeksToday’s guide will be on the in...
-
11
How To Install Virtualbox on Ubuntu and Kali LinuxSearch ComputingForGeeksWelcome to our guide on how t...
-
8
How to Install and Set Up Red Hat Enterprise Linux (RHEL) By Debarshi Das Published 2 days ago Installing Red Hat Enter...
-
30
Set of instructions on how to install algod and indexer on Ubuntu 20.04 · GitHub Instantly share code, notes, and snippets....
-
3
Just Install iOS 16? Here's What to Set Up First
-
2
Ubuntu: Install Kernel and Set GRUB Default Kernel Install Kernel Install the default kernel: sudo apt install linux-generic Set GRUB Default Kernel Find entrance from /boot/gru...
-
7
In 2023, I had to set up two fresh MacBook Pros (unexpectedly), and none of what I installed or how I set anything up was written down. And, oh boy, had I wished it was written down. So here’s me writing it down...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK