Install Telegram Desktop App on Rocky Linux

This article is going to take you through on how to Install Telegram Desktop App on Rocky Linux. Telegram is a freeware and cross-platform cloud-based instant messaging application. End-to-end encrypted phone and video calls, as well as optional end-to-end encrypted “secret” chats, are among its features. It’s cloud chats and groups are encrypted between the client and the server, limiting third-party network access.

We’ll use the following methods to install Telegram Desktop;

Install Telegram Desktop App on Rocky Linux via Snap command

  • Snap is not installed by default on Rocky Linux. To install snapd, first add the EPEL repository using the command below.
sudo yum install epel-release

Sample output

Last metadata expiration check: 4:36:58 ago on Thu 07 Apr 2022 06:49:59 PM EAT.
Dependencies resolved.
=====================================================
 Package        Arch     Version      Repo      Size
=====================================================
Installing:
 epel-release   noarch   8-13.el8     extras    23 k

Transaction Summary
=====================================================
Install  1 Package

Total download size: 23 k
Installed size: 35 k
Is this ok [y/N]: y
Downloading Packages:
epel-release-8-13.el  14 kB/s |  23 kB     00:01    
-----------------------------------------------------
Total                7.2 kB/s |  23 kB     00:03     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                             1/1 
  Installing       : epel-release-8-13.el8.noa   1/1 
  Running scriptlet: epel-release-8-13.el8.noa   1/1 
  Verifying        : epel-release-8-13.el8.noa   1/1 

Installed:
  epel-release-8-13.el8.noarch                       

Complete!
  • Then run the following command to install snapd.
sudo yum install snapd

Sample output

Extra Packages for Enterprise Linux 8 - x86_64                                                                                                                                     102 kB/s |  11 MB     01:53    
Extra Packages for Enterprise Linux Modular 8 - x86_64                                                                                                                             405 kB/s | 1.0 MB     00:02    
Last metadata expiration check: 0:00:01 ago on Thu 07 Apr 2022 11:29:24 PM EAT.
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                                Architecture                                    Version                                                Repository                                     Size
===================================================================================================================================================================================================================
Installing:
 snapd                                                  x86_64                                          2.54.4-1.el8                                           epel                                           17 M
Installing dependencies:
 snap-confine                                           x86_64                                          2.54.4-1.el8                                           epel                                          3.3 M
 snapd-selinux                                          noarch                                          2.54.4-1.el8                                           epel                                          484 k

Transaction Summary
===================================================================================================================================================================================================================
Install  3 Packages

Total download size: 20 M
Installed size: 64 M
Is this ok [y/N]: y
Is this ok [y/N]: y
Downloading Packages:
  • Next enable snap using the following command.
sudo systemctl enable --now snapd.socket
  • After that, create a symbolic link.
sudo ln -s /var/lib/snapd/snap /snap
  • Restart your system for changes to take effect.
sudo reboot
  • Next Install Telegram desktop using the following snap command.
sudo snap install telegram-desktop
  • Telegram Desktop can be launched using the following command.
telegram-desktop
  • Alternatively, it can be launched from the application menu.

Uninstall Telegram Desktop via Snap

  • To uninstall Telegram, use the command below.
sudo snap remove telegram-desktop

Install Telegram Desktop App on Rocky Linux via TAR Binary

  • Download telegram using the wget command below.
wget "https://telegram.org/dl/desktop/linux" -O telegram.tar.xz
  • Next extract it using the following command.
tar -xvf telegram.tar.xz
  • Move Telegram to opt directory.
sudo mv Telegram/ /opt
  • Then run the binary using the command below.
/opt/Telegram/./Telegram

Telegram can be launched from the application menu.

  • You have made it to the end of the article, Congratulations! You have learned how to Install Telegram Desktop App on Rocky Linux.

Further Reading

Read more on Telegram FAQ

Other Tutorials

Install Telegram Desktop App on Debian 11

Install Telegram Desktop App on Ubuntu 22.04

Install Slack on Debian 11

System administrator | Software Developer | DevOps

Leave a Comment