How to set up Telegram manually on Fedora following good Linux practices

How to set up Telegram manually on Fedora following good Linux practices


Telegram Premium é lançado e custará até R$ 24,90 ao mês

Telegram is a cloud-based instant messaging app that allows users to send text messages, voice messages, multimedia files, and make voice and video calls over the internet.

It was developed by Pavel Durov and his team and was first launched in 2013.

Telegram is available as a mobile app for smartphones and tablets, as well as a desktop application for Windows, macOS, and Linux.

Let's get down to business

shall we?

The-office GIFs - Get the best GIF on GIPHY


Check your OS (optional)

This step is just to ensure you have Fedora 38 Linux installed. You can pick up one command or you can use them all.


cat /etc/os-release




When you run hostnamectl without any options, it provides detailed information about the system's hostname, operating system, kernel, and other system-related settings.


lsb_release -a


lsb_release is a command-line utility commonly found in Linux distributions that adhere to the Linux Standard Base (LSB). The LSB is a standardization initiative that aims to increase compatibility between different Linux distributions by defining a common set of libraries and conventions.


uname -a


The uname -a command is used to display detailed system information about the Linux operating system. It provides information about the system's kernel and other system-related details.

Go to the official website

Go to the official website or click directly on the following link:

Ps: A good approach would be to download this file using wget.

Download Telegram

Click on the Get Telegram for Linux x64 button or click directly on the following link:

Check downloaded file

ls ~/Downloads/

Your output should include a file called something like the following:

[elitebughunter@192 ~]$ ls ~/Downloads/

Ps: The best approach would be to use the /tmp/ folder.

Extract the file

tar -xJvf ~/Downloads/tsetup.4.10.3.tar.xz -C /opt/

Your output should be something like this:

Brief explanation

The tar -xJvf command on Fedora, or any Linux system, is used to extract the contents of a tarball archive file that has been compressed with the XZ compression format.

Let's break this command down:

  • tar: tarball archive files command;

  • -x: Extract files;

  • -J: Use the XZ compression format;

  • -v: Display the names of the files as they are extracted;

  • -f: File that you want to extract.

Check extracted files

ls /opt/Telegram/


[elitebughunter@192 ~]$ ls /opt/Telegram/
Telegram  Updater

Brief explanation

The /opt/telegram is the destination directory where we want to move the "Telegram" directory. /opt is a common location for installing optional or third-party software on Linux systems.

This is a common method for organizing and installing software on Linux systems. After moving, the software installed in "/opt/telegram" can be run from there, and it may require administrative privileges due to the use of sudo.

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


The command sudo ln -sf /opt/Telegram/Telegram /usr/bin/telegram creates a symbolic link from the /usr/bin/telegram location to the /opt/Telegram/Telegram binary executable file.

So, when we run sudo ln -sf /opt/telegram/Telegram /usr/bin/telegram, we are creating a symbolic link named telegram in the /usr/bin directory that points to the Telegram executable in /opt/Telegram/Telegram." This allows us to run the Telegram application from the command line by simply typing telegram.

Check installation

Executable file's path

which telegram


Run Telegram






Let's become friends

Final thoughts

Thank you for reading this article.

If you have any questions, thoughts, suggestions, or corrections, please share them with us.

We appreciate your feedback and look forward to hearing from you.

Feel free to suggest topics for future blog articles. Until next time!