Tutorial to install the Telegram messaging app on Fedora Linux such as 37/36/35 to start chatting and access media from various channel groups.
Telegram is a free messenger for smartphones like WhatsApp. Users log in with their mobile numbers and can chat with each other and share pictures, videos, documents, and files or download them very easily. In addition, video and voice calls can be made, as well as surveys, groups, and channels can be created to network with each other. Especially because of the latter function, Telegram is particularly popular.
Well, installing applications in Windows and macOS is quite simple but when it comes to Linux users, are not much familiar with how to do that. Therefore, for those who are using Fedora Linux and want the Telegram app, then the steps given here can be used.
Steps to install on Telegram Fedora Linux
There are multiple ways to get Telegram on Fedora Linux, you can choose the one which suits you and work on your system.
#1st Method using RPM Fusion Free Repository
1. Add RPM Fusion Repository on Fedora
The telegram desktop app for Fedora Linux is not available through its official repository. Hence, here we will add the RPM Fusion repository that offers various packages to install on Redhat-based Linux systems.
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm -y
2. Install Telegram on Fedora Linux
Once you have added the repository for Telegram, the next task is to use the DNF package manager and fetch the packages required for this open-source messaging app.
sudo dnf install telegram
#2nd way is to use the SNAP
3. Enable Snap
Well, if you don’t want to use RPM fusion repo then we can go for Snap universal package manager. However, by default, it will not be on Fedora Linux, therefore, we have to install it manually as well.
sudo dnf install snapd
sudo ln -s /var/lib/snapd/snap /snap
4. Get Telegram using SNAP
After adding the SNAP to your Linux, immediately we can start using it. The command line of SNAP is quite simple, just run the given command and you are done.
sudo snap install telegram-desktop
#3rd Way is Flatpak
5. Install the Flatpak
Just like SNAP, Flatpak is also a universal package manager. However, its command line is slightly complicated, and also the package sizes are bigger compared to Faltpak. Nevertheless, here are the commands to setup Flatpak:
sudo dnf install flatpak
Also, enable the Flathub repository on Fedora which is already there; that will be used by Flatpak to download various packages.
sudo flatpak remote-modify --enable flathub
Reboot your system to properly integrate the Flatpak:
6. Installing Telegram on Fedora with Flatpak
After adding the Flatpak, we can use its command further. In the given command you can see that Flatkpak is using the Flathub.
flatpak install flathub org.telegram.desktop -y
7. How to run the Telegram Desktop app
It doesn’t matter which of the above-given methods you have used to install this messaging application. To run, click on the Activities link in the Taskbar and search for Telegram.
8. How to update
As per the method you have used to install Telegram, the updating command will be different. According to the way you have used it, go for the given commands.
For RPM Fusion users:
sudo dnf upgrade --refresh
For SNAP users:
sudo snap refresh telegram-desktop
9. Uninstall Telegram from Fedora
Well, there might be chances after some time you won’t require the Telegram app on your Fedora Desktop. If that is the case, then you are always free to remove it.
For RPM Fusion:
sudo dnf autoremove telegram
If you also want to disable the repository (RPM fusion), then the command will be:
sudo dnf config-manager --set-disabled rpmfusion-free
For the Snap method:
sudo snap remove telegram-desktop
For Flatpak Method:
flatpak remove --delete-data org.telegram.desktop -y
⇒ 4 ways to install Telegram on Ubuntu 22.04 | 20.04 LTS
⇒ How to install Telegram on Kali Linux
⇒ Install Microsoft SQL Server 2022 preview on Ubuntu 20.04 LTS
⇒ How to install KDE Plasma Desktop on Fedora 36 Linux