I received a message from Telegram that said to update my app to the latest version.
Please update your app to the latest version. The version you are using is out of date and will stop working soon
In Ubuntu 20.04.3 LTS the latest released version of Telegram Desktop app is 2.1.7.
How can I update the LTS repository containing the latest version of Telegram?
3 Answers
Introduction
Telegram is a popular instant messaging platform that provides users with a secure and reliable way to communicate with their contacts. The platform is available on multiple devices, including desktops, smartphones, and tablets, and supports a wide range of features such as file sharing, voice and video calls, and group chats. However, like all software, Telegram requires regular updates to ensure that it remains secure and functional. In this blog post, we will discuss how to update the Telegram Desktop app in Ubuntu 20.04.
Checking the Current Version of Telegram Desktop
Before updating the Telegram Desktop app, it is important to check the current version that is installed on your system. To do this, open the Telegram app on your desktop and click on the three horizontal lines located in the top left-hand corner of the screen. This will open the main menu. From the menu, click on “Help” and then select “About Telegram.” A pop-up window will appear, displaying the current version of the app that is installed on your system.
Updating Telegram Desktop
Once you have confirmed the current version of Telegram Desktop, it is time to update the app to the latest version. In Ubuntu 20.04, the Telegram Desktop app is installed via the LTS repository. To update the app, you will need to update the LTS repository first. Here is how to do it:
Step 1: Open the Terminal
To open the Terminal in Ubuntu 20.04, press the “Ctrl + Alt + T” keys on your keyboard. Alternatively, you can click on the “Activities” button located in the top left-hand corner of the screen and search for “Terminal” in the search bar.
Step 2: Update the LTS Repository
To update the LTS repository, enter the following command in the Terminal:
sudo apt-get update
This command will update the repository and download the latest package information.
Step 3: Update Telegram Desktop
Once the LTS repository is updated, you can update the Telegram Desktop app by entering the following command in the Terminal:
sudo apt-get install telegram-desktop
This command will download and install the latest version of Telegram Desktop from the LTS repository.
Alternative Method: Using Snap
If you prefer to use Snap to install and update apps on your Ubuntu system, you can also update the Telegram Desktop app using Snap. Here is how to do it:
Step 1: Open the Terminal
To open the Terminal in Ubuntu 20.04, press the “Ctrl + Alt + T” keys on your keyboard. Alternatively, you can click on the “Activities” button located in the top left-hand corner of the screen and search for “Terminal” in the search bar.
Step 2: Update Snap
To update Snap, enter the following command in the Terminal:
sudo snap refresh
This command will update Snap and download the latest package information.
Step 3: Update Telegram Desktop
Once Snap is updated, you can update the Telegram Desktop app by entering the following command in the Terminal:
sudo snap refresh telegram-desktop
This command will download and install the latest version of Telegram Desktop from the Snap repository.
Conclusion
Updating the Telegram Desktop app in Ubuntu 20.04 is a simple process that can be done using either the LTS repository or Snap. It is important to keep your apps up to date to ensure that they remain secure and functional. By following the steps outlined in this blog post, you can easily update the Telegram Desktop app and continue to enjoy its features and benefits.
To update the Telegram Desktop app in Ubuntu 20.04, you can follow these steps:
- Open a terminal and run the following command to update the package manager’s list of available packages:
sudo apt update
- Run the following command to upgrade any out-of-date packages on your system:
sudo apt upgrade
- If you have the Telegram Desktop app installed, it should be updated to the latest version as part of the upgrade process. If you don’t have the app installed, you can install it by running the following command:
sudo apt install telegram-desktop
- If you want to install the latest version of Telegram Desktop from the official website, you can download the installation package from https://desktop.telegram.org/. Once the download is complete, open the downloaded file and follow the prompts to install the app.
- If you have any issues updating or installing the app, you can try uninstalling it and then installing the latest version again. To uninstall the app, run the following command:
sudo apt remove telegram-desktop
Then, follow steps 3 or 4 to install the latest version of the app.
If you have a source that isn’t updated, you can file an issue and perhaps the maintainer will update it. Before doing that, make sure your system is up to date by running sudo apt update && sudo apt upgrade.
There are several ways to get the updated version of Telegram. In my opinion, they are ordered from best to worst as follows:
- The official download link – It produces a tar.xz file, and you can extract it by running tar xf archive.tar.xz. However, be warned that it’s a direct download link.
- The snap package – Installing Telegram via Snap is very simple, and Snap is a quick and easy way to install packages.
- Flatpak – Flatpak is good as well, but I find that Snap is better supported by default in Ubuntu, so I’d suggest Snap over Flatpak.
- Unofficial PPA’s – Unless you have a really good reason to not use the three official methods, I don’t suggest this.
However, if you want to add an unofficial PPA like ppa:atareao/telegram, you can do so by running:
$ sudo add-apt-repository ppa:atareao/telegram
$ sudo apt-get update
$ sudo apt-get install telegram