How To Install telegram-desktop on Ubuntu 20.04

In this tutorial we learn how to install telegram-desktop on Ubuntu 20.04. telegram-desktop is fast and secure messaging application fast and secure messaging application

Introduction

In this tutorial we learn how to install telegram-desktop on Ubuntu 20.04.

What is telegram-desktop

telegram-desktop is:

Telegram is a messaging app with a focus on speed and security, it is super-fast, simple and free. You can use Telegram on all your devices at the same time — your messages sync seamlessly across any number of your phones, tablets or computers.

Package: telegram-desktop Architecture: amd64 Version: 2.0.1+ds-1build1 Built-Using: libtgvoip (= 2.4.4-2), mapbox-variant (= 1.1.6-1), ms-gsl (= 2.1.0-1), range-v3 (= 0.10.0-1), tl-expected (= 1.0.0~dfsg-2) Priority: optional Section: universe/net Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Nicholas Guriev [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 43740 Depends: qt5-image-formats-plugins (>= 5.9.0), libavcodec58 (>= 7:4.2), libavformat58 (>= 7:4.2), libavutil56 (>= 7:4.0), libc6 (>= 2.29), libdbusmenu-qt5-2 (>= 0.3.2), libgcc-s1 (>= 4.0), liblz4-1 (>= 0.0~r130), liblzma5 (>= 5.1.1alpha+20120614), libminizip1 (>= 1.1), libopenal1 (>= 1.14), libopus0 (>= 1.1), libqrcodegencpp1 (>= 1.2.1), libqt5core5a (>= 5.12.2), libqt5dbus5 (>= 5.9.0), libqt5gui5 (>= 5.10.0) | libqt5gui5-gles (>= 5.10.0), libqt5network5 (>= 5.9.0), libqt5widgets5 (>= 5.9.0), librlottie0-1 (>= 0~git20200305.a717479+dfsg), libssl1.1 (>= 1.1.0), libstdc++6 (>= 6), libswresample3 (>= 7:4.0), libswscale5 (>= 7:4.0), libx11-6, libxxhash0 (>= 0.6.5), qtbase-abi-5-12-8, zlib1g (>= 1:1.1.4) Recommends: fonts-open-sans Filename: pool/universe/t/telegram-desktop/telegram-desktop_2.0.1+ds-1build1_amd64.deb Size: 17303224 MD5sum: 254459b33f53d4aabc2f4c5269165901 SHA1: 641839e2c61086c0f7bc51396a9bcc44d0a9e9c4 SHA256: aa15d3229cd670cd6f7767894ceba8bf04715983022484677fde551b78ffb0a0 Homepage: https://desktop.telegram.org Description-en: fast and secure messaging application Telegram is a messaging app with a focus on speed and security, it is super-fast, simple and free. You can use Telegram on all your devices at the same time — your messages sync seamlessly across any number of your phones, tablets or computers.

There are three methods to install telegram-desktop on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install telegram-desktop Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install telegram-desktop using apt-get by running the following command:

sudo apt-get -y install telegram-desktop

Install telegram-desktop Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install telegram-desktop using apt by running the following command:

sudo apt -y install telegram-desktop

Install telegram-desktop Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install telegram-desktop using aptitude by running the following command:

sudo aptitude -y install telegram-desktop

How To Uninstall telegram-desktop on Ubuntu 20.04

To uninstall only the telegram-desktop package we can use the following command:

sudo apt-get remove telegram-desktop

Uninstall telegram-desktop And Its Dependencies

To uninstall telegram-desktop and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove telegram-desktop

Remove telegram-desktop Configurations and Data

To remove telegram-desktop configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge telegram-desktop

Remove telegram-desktop configuration, data, and all of its dependencies

We can use the following command to remove telegram-desktop configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge telegram-desktop

References

Summary

In this tutorial we learn how to install telegram-desktop package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.