How to Install Telegram on Parrot OS – 3 Methods
Complete guide to installing Telegram on your Parrot OS system
Telegram is a popular messaging application known for its security and speed. If you’re using Parrot OS, a Debian-based Linux distribution designed for security professionals, you might need to install Telegram manually due to network or repository issues. This guide will walk you through three different methods to install Telegram on Parrot OS.
Method 1: Install Telegram via APT (Recommended)
This is the easiest and most straightforward method, as Telegram is available in the Debian repositories.
Update your system to ensure all packages are up to date:
sudo apt update && sudo apt upgrade -y
Install Telegram Desktop using APT:
sudo apt install telegram-desktop -y
Launch Telegram by running:
telegram-desktop
If the installation fails due to a repository issue, try an alternative method below.
Method 2: Install Telegram via Flatpak
Flatpak provides an easy way to install applications in an isolated environment. This method is useful if the APT package is outdated.
Install Flatpak if it’s not already installed:
sudo apt install flatpak -y
Enable the Flathub repository:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Install Telegram using Flatpak:
flatpak install flathub org.telegram.desktop -y
Run Telegram:
flatpak run org.telegram.desktop
Method 3: Install Telegram Manually (Official Binary)
If you want the latest version directly from Telegram’s official website, you can install it manually.
Download the official Telegram package:
wget -O telegram.tar.xz "https://telegram.org/dl/desktop/linux"
Extract the downloaded file:
tar -xf telegram.tar.xz
Move Telegram to /opt/ (optional, but recommended for better organization):
sudo mv Telegram /opt/telegram
Create a symlink for easier access:
sudo ln -s /opt/telegram/Telegram /usr/local/bin/telegram
Run Telegram:
telegram
Troubleshooting Common Issues
Issue 1: DNS Resolution Error
If you get an error like wget: unable to resolve host address 'telegram.org', your system has DNS issues.
Check your internet connection:
ping -c 4 8.8.8.8
If connected, edit DNS settings:
sudo nano /etc/resolv.conf
Add these lines:
nameserver 8.8.8.8
nameserver 8.8.4.4
Restart networking services:
sudo systemctl restart networking
Which Installation Method Should You Choose?
| Method | Pros | Cons |
|---|---|---|
| APT | Simple, quick installation | May not have the latest version |
| Flatpak | Isolated environment, updated versions | Slightly larger in size |
| Manual | Always the latest version | Requires manual updates |
Conclusion
Installing Telegram on Parrot OS is easy if you follow the right method. If you’re looking for the quickest way, go with APT. If you need a sandboxed installation, Flatpak is a great choice. And if you want the latest version, installing manually is the best option.