Telegram Desktop brings secure, cloud-synced messaging to your Debian workstation with end-to-end encryption for secret chats, file sharing up to 2 GB, group chats up to 200,000 members, and cross-device synchronization. You can install Telegram on Debian through multiple methods across Debian 13 (Trixie), 12 (Bookworm), and 11 (Bullseye), with Flatpak from Flathub recommended for most users as it delivers the latest version with sandboxed security on all supported releases.
Install Telegram Desktop on Debian
The table below compares each installation method to help you select the best option for your Debian system and preferences:
| Method | Channel | Version | Updates | Best For |
|---|---|---|---|---|
| Flatpak | Flathub | Latest stable | Automatic via flatpak update | All users who want the latest features with sandboxing |
| APT | Debian Repos | Stable (older); unavailable on Debian 13 | Automatic via apt upgrade | Debian 11 and 12 users who prefer distro-tested packages |
| Snap | Snapcraft | Latest stable | Automatic background updates | Users with snapd already configured |
| Official Binary | GitHub Releases | Latest stable | Built-in auto-update + manual script | Advanced users who prefer a portable installation |
Flatpak is recommended for most users because it provides the latest Telegram features and security updates directly from the developers with sandboxed security. The APT method offers seamless integration with Debian’s package manager but ships an older version and is not available on Debian 13 (Trixie).
The
telegram-desktoppackage is not available in Debian 13 (Trixie) repositories, including main, contrib, non-free, and backports. Debian 13 users should use Flatpak, Snap, or the official binary instead.
Method 1: Install Telegram on Debian via Flatpak
Flatpak provides the latest Telegram Desktop release directly from Flathub, running in a sandboxed environment for enhanced security. This method works on all supported Debian versions and is recommended for users who want the newest features.
Ensure Flatpak is Installed on Debian
Before installing Telegram via Flatpak, you need the Flatpak framework and Flathub repository configured on your system. If you have not yet set up Flatpak, follow our comprehensive Flatpak installation guide for Debian to enable the Flatpak framework and add the Flathub repository. The setup typically takes under five minutes.
Install Telegram Desktop from Flathub
Once Flatpak is ready, install Telegram Desktop from Flathub:
flatpak install flathub org.telegram.desktop -y
The -y flag automatically confirms installation prompts, allowing the process to complete without further input.
Verify Flatpak Telegram Installation
Confirm that Telegram appears in your installed Flatpak applications:
flatpak list | grep -i telegram
You should see output similar to the following:
Telegram Desktop org.telegram.desktop 6.x.x stable system
Method 2: Install Telegram on Debian via APT
The APT method installs Telegram from Debian’s official repositories, providing automatic updates through the standard package manager. This method only works on Debian 11 (Bullseye) and Debian 12 (Bookworm) and is not available on Debian 13.
Update Debian Package Index
Refresh your package lists to ensure you install the latest available version from the repositories:
sudo apt update && sudo apt upgrade
If this is your first time using
sudoon Debian, see our guide on adding a user to sudoers on Debian.
Install Telegram Desktop Package
Install the Telegram Desktop package using APT:
sudo apt install telegram-desktop
Verify APT Telegram Installation
Confirm that Telegram Desktop is properly installed by checking the package status:
dpkg -l telegram-desktop
You should see output similar to the following:
Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-================-=============-============-===================================== ii telegram-desktop 4.x.x amd64 fast and secure messaging application
The version shipped depends on your Debian release. Refer to the table below for the approximate versions available by release:
| Debian Release | APT Version | Notes |
|---|---|---|
| Debian 13 (Trixie) | Not available | Package dropped; use Flatpak, Snap, or official binary |
| Debian 12 (Bookworm) | 4.6.x | Community-maintained build; not the latest upstream release |
| Debian 11 (Bullseye) | 3.1.x | Significantly older; Flatpak recommended for newer features |
Method 3: Install Telegram on Debian via Snap
Snap provides another method for installing Telegram with automatic background updates and sandboxed execution. Since snapd is not installed by default on Debian, the steps below cover the initial setup. For a full overview of Snap on Debian, see our Snapd installation guide for Debian.
Install and Configure Snapd on Debian
Install the snapd package from Debian’s repositories:
sudo apt update && sudo apt install snapd
Install the core snap to pull in the latest snapd features:
sudo snap install snapd
Install Telegram Desktop from Snapcraft
Once snapd is configured, install Telegram Desktop:
sudo snap install telegram-desktop
Verify Snap Telegram Installation
Confirm Telegram is installed by listing your installed snaps:
snap list telegram-desktop
You should see output similar to the following:
Name Version Rev Tracking Publisher Notes telegram-desktop 6.x.x xxxx latest/stable telegram -
Method 4: Install Telegram on Debian from Official Binary
Downloading Telegram directly from the developers’ GitHub releases provides a portable installation that does not require root privileges for the application itself. This method works on any Debian release and always installs the latest upstream version.
Download and Install the Official Telegram Binary
Ensure curl and the XZ extraction tools are installed before downloading:
sudo apt install curl xz-utils
The following script automatically downloads the latest Telegram release from GitHub, extracts it to your home directory, and creates a command-line symlink. The GitHub API call detects the current version automatically so the script stays current without hardcoded version strings:
cd /tmp
TELEGRAM_URL=$(curl -s https://api.github.com/repos/telegramdesktop/tdesktop/releases/latest | grep -oP '"browser_download_url": "\K[^"]*tsetup\.[0-9.]+\.tar\.xz')
curl -LO "$TELEGRAM_URL"
tar -xf tsetup.*.tar.xz
mv Telegram ~/.local/share/
mkdir -p ~/.local/bin
ln -sf ~/.local/share/Telegram/Telegram ~/.local/bin/telegram-desktop
rm -f /tmp/tsetup.*.tar.xz
This script downloads the latest Linux binary from GitHub releases, extracts it to ~/.local/share/Telegram/, and creates a symbolic link in ~/.local/bin/ for command-line access.
On Debian,
~/.local/binis added to your$PATHautomatically by~/.profilewhen the directory exists. Iftelegram-desktopis not found after installation, log out and back in, or runsource ~/.profileto apply the PATH update in your current session.
Create Desktop Launcher for Telegram
To add Telegram to your application menu, create a desktop entry file:
cat <<EOF > ~/.local/share/applications/telegram-desktop.desktop
[Desktop Entry]
Version=1.0
Name=Telegram Desktop
Comment=Official Telegram Desktop Client
Exec=$HOME/.local/share/Telegram/Telegram -- %u
Icon=$HOME/.local/share/Telegram/Telegram
Terminal=false
Type=Application
Categories=Network;InstantMessaging;
MimeType=x-scheme-handler/tg;
StartupWMClass=Telegram
X-GNOME-UsesNotifications=true
EOF
Update the desktop database to make Telegram appear in your application menu:
update-desktop-database ~/.local/share/applications
Verify Binary Telegram Installation
Confirm the binary is in place and accessible:
ls -la ~/.local/share/Telegram/Telegram
You should see output similar to the following:
-rwxr-xr-x 1 user user 123456789 Dec 16 07:45 /home/user/.local/share/Telegram/Telegram
Launch Telegram Desktop on Debian
Once installation completes, launch Telegram Desktop through either the terminal or your desktop environment’s application menu.
Launch Telegram from the Terminal
The launch command depends on your installation method:
# APT or official binary installation
telegram-desktop
# Flatpak installation
flatpak run org.telegram.desktop
# Snap installation
snap run telegram-desktop
Launch Telegram from the Applications Menu
For a graphical approach, open your desktop environment’s application menu. On GNOME, click Activities in the top-left corner, select Show Applications, and search for “Telegram.” On KDE Plasma or XFCE, open the applications menu and navigate to the Internet or Network category.


Manage Telegram Desktop on Debian
Update Telegram Desktop on Debian
Keeping Telegram updated ensures you have the latest security patches and features. The update command depends on your installation method.
Update Telegram via Flatpak
Flatpak applications typically update automatically when you log in. To manually check for and apply updates:
flatpak update
Update Telegram via APT
For APT installations, Telegram updates arrive with your regular system updates:
sudo apt update && sudo apt upgrade
To update only Telegram without upgrading other packages:
sudo apt update && sudo apt install --only-upgrade telegram-desktop
Update Telegram via Snap
Snap applications update automatically in the background. To manually trigger an update:
sudo snap refresh telegram-desktop
Update the Official Telegram Binary
The official binary includes a built-in auto-update system. When Telegram launches, it checks for newer versions and downloads updates in the background within ~/.local/share/Telegram/. This happens independently of APT or Flatpak.
To manually force a fresh download of the latest release, re-run the installation script from the Official Binary method above. The script always fetches the current version from GitHub without hardcoded version strings.
Troubleshoot Telegram Desktop on Debian
Telegram Desktop Does Not Launch
When Telegram fails to start, launch it from the terminal for your installation method to capture the error output:
# APT or official binary
telegram-desktop
# Flatpak
flatpak run org.telegram.desktop
# Snap
snap run telegram-desktop
Qt or display-related errors indicate a display server issue. Ensure your display server is running properly. For Flatpak installations, try resetting application permissions:
flatpak permission-reset org.telegram.desktop
Flatpak Telegram: Could Not Activate Remote Peer
Running flatpak run org.telegram.desktop returns the following error:
could not activate remote peer 'org.telegram.desktop': unit failed
This error occurs when the xdg-desktop-portal service is not running, which Flatpak requires to sandbox applications and communicate with the desktop session. Restart the portal service for your user session:
systemctl --user restart xdg-desktop-portal
If the service fails to restart, install the portal backend for your desktop environment:
# GNOME
sudo apt install xdg-desktop-portal-gnome
# KDE Plasma
sudo apt install xdg-desktop-portal-kde
# XFCE, LXDE, or other environments
sudo apt install xdg-desktop-portal-gtk
After installing the portal backend, log out and back in, then launch Telegram again.
Unable to Locate Package telegram-desktop on Debian 13
Running sudo apt install telegram-desktop on Debian 13 (Trixie) returns the following error:
E: Unable to locate package telegram-desktop
The telegram-desktop package is not available in any Debian 13 repository component, including main, contrib, non-free, and backports. Install Telegram via Flatpak, Snap, or the official binary using one of the methods above.
Telegram Icon Missing from Application Menu
Desktop entries sometimes require a session refresh to appear after installation. Log out and back in, or update the desktop database manually:
update-desktop-database ~/.local/share/applications
Cannot Connect to Telegram Servers
Connection issues may result from firewall rules or network restrictions. Verify your system can reach Telegram’s servers:
ping -c 4 telegram.org
Networks that block Telegram require proxy configuration within the Telegram application settings to establish a connection.
Remove Telegram Desktop from Debian
The removal method matches your installation method.
Remove Flatpak Telegram Installation
Remove the Flatpak version of Telegram:
flatpak uninstall org.telegram.desktop
For a complete removal that includes Flatpak application data stored in the sandbox:
flatpak uninstall --delete-data org.telegram.desktop
Remove APT Telegram Installation
Remove Telegram installed via APT along with its configuration files and unused dependencies:
sudo apt remove --purge telegram-desktop && sudo apt autoremove
This removes the application and cleans up packages that were installed as dependencies but are no longer needed.
Remove Snap Telegram Installation
Remove the Snap version of Telegram:
sudo snap remove telegram-desktop
Remove Official Binary Telegram Installation
For the official binary installation, delete the application directory, symbolic link, and desktop launcher:
rm -rf ~/.local/share/Telegram
rm -f ~/.local/bin/telegram-desktop
rm -f ~/.local/share/applications/telegram-desktop.desktop
update-desktop-database ~/.local/share/applications
Remove Telegram User Data
The following commands permanently delete your Telegram message history, media cache, downloaded files, and account settings stored locally. This action cannot be undone. Export any conversations or media you want to keep before proceeding.
The user data location varies by installation method. Remove the directory matching your method:
# APT or official binary installations
rm -rf ~/.local/share/TelegramDesktop
# Flatpak installations
rm -rf ~/.var/app/org.telegram.desktop
# Snap installations
rm -rf ~/snap/telegram-desktop
Verify Telegram Removal on Debian
Confirm that Telegram Desktop is no longer installed on your system:
# APT
dpkg -l telegram-desktop
# Flatpak
flatpak list | grep -i telegram
# Snap
snap list telegram-desktop
# Official binary
ls ~/.local/share/Telegram/Telegram
Each command should return an error or empty output confirming the application is removed. For APT, the output shows dpkg-query: no packages found matching telegram-desktop. For Flatpak and Snap, no matching entries appear. For the binary method, the file should no longer exist.
Frequently Asked Questions
No. Telegram does not publish an official APT repository for Debian. The telegram-desktop package available via apt is maintained by Debian contributors and ships an older build. For the latest official release, Telegram publishes pre-built Linux binaries at telegram.org as a .tar.xz archive and via Flatpak on Flathub (org.telegram.desktop). Flatpak is recommended for users who want automatic updates with the most recent version from Telegram’s developers.
The telegram-desktop package was dropped from Debian 13 (Trixie) repositories due to packaging challenges with the library dependencies required by newer Telegram versions. Running sudo apt install telegram-desktop on Debian 13 returns E: Unable to locate package telegram-desktop. Debian 12 (Bookworm) and Debian 11 (Bullseye) still ship older versions through their standard Debian repositories. For Debian 13, use Flatpak from Flathub, Snap, or the official binary from GitHub releases.
Yes. The official Telegram binary (installed via the .tar.xz method) includes a built-in auto-update system. When Telegram launches, it checks for newer versions and downloads updates in the background within ~/.local/share/Telegram/. This update happens independently of APT or Flatpak and does not require sudo. Flatpak installations update through flatpak update, and APT installations update through sudo apt upgrade.
Conclusion
Telegram Desktop is running on your Debian system with end-to-end encrypted messaging, 2 GB file transfers, and cross-device cloud sync. Flatpak from Flathub is the recommended starting point for most users because it delivers the latest upstream release with sandboxed security and works on all supported Debian releases. For additional communication options on Debian, explore our guides for Discord on Debian, Slack on Debian, and Zoom on Debian.
maa Shaa ALLAH the best