I have installed the official version of Telegram, but now I cannot remove it.

I have tried apt remove telegram and other methods, is there any trick to remove it completely?

  • 7
    Definitely, but we need more details. How did you install it? Did you download from the website or use the atareao ppa, or did you install it as a snap package?
    – Zanna
    Commented Sep 1, 2016 at 9:49

8 Answers 8


If you downloaded Telegram directly from the website, then your package management system has no idea about it, and you have to remove the files yourself. You may find them in ~/Downloads but perhaps you put them somewhere else, for example /opt. If you have been using Telegram you may also find an automatically created directory in ~/Downloads called Telegram Desktop which contains files you have downloaded from Telegram messages. There may also be a hidden directory in your home ~/.TelegramDesktop. You can remove Telegram by deleting all these files and directories.

If you can't find them dosudo updatedb && locate Telegram to see where they are.

If you installed from the Atareao PPA then remove the PPA itself:

sudo apt remove telegram
sudo add-apt-repository -r ppa:atareao/telegram

As mentioned by @Anwar, there is a package called ppa-purge which removes ppas more gracefully, attempting to restore any packages from ppa to repository versions as well as removing the ppa versions. You don't need it in this case, since there is no repository version of Telegram, however, it is the preferred way to remove ppas:

sudo apt install ppa-purge
sudo ppa-purge ppa:atareao/telegram

This will uninstall any packages from the ppa as well as removing it.

If you installed the snap package telegram-sergiusens then do

sudo snap remove telegram-sergiusens
  • Thank you for your helpful information. i used locate command to locate files, then deleted the folder, and it's gone. thanks again and wish you the best. Commented Sep 4, 2016 at 5:53
  • Awesome, glad to hear it @BassamM.Mardini :)
    – Zanna
    Commented Sep 4, 2016 at 6:12
  • 2
    The user data is located under ~/.local/shares/TelegramDesktop. It's important to also remove this directory for privacy protection.
    – lamino
    Commented Feb 14, 2017 at 3:14


sudo apt remove telegram-desktop
  • It works for me on Ubuntu 20.04 (I had downloaded the file from the website). I also manually deleted the Telegram folders from my ~/Donwloads folder Commented Feb 1, 2021 at 12:51

search and delete the "TelegramDesktop" folder.

in my case:

lsof|grep Telegram

revealed it was under:


Telegram install in ubuntu with

sudo snap install telegram-desktop

You can remove it with

sudo snap remove telegram-desktop

If you used flatpak:

Locate telegram flatpak id:

$ flatpak list
Ref                                                     Options       
org.telegram.desktop/x86_64/stable                      system,current

Uninstall Telegram:

$ flatpak uninstall org.telegram.desktop/x86_64/stable

I have done:

find / -iname "*telegram*" 2>/dev/null

I found:

/home/marco/Downloads/Telegram Desktop
  • nice, bye-bye Telegram Commented May 22, 2022 at 3:09

So it seems like you have downloaded the official executable file from the official website of Telegram. You can't remove it with your apt package manager because it has nothing to do with that because it is a application/x-executable type binary file. So in order to remove it completely do the steps I am writing below :

  1. To remove the desktop entry/shortcut delete the following file (I'm using GNOME desktop in this case):


    deleting it will remove the desktop icon... you can also remove it using the rm command

  2. Next delete the main executable file which may be in your Downloads folder

    Delete the whole folder which you extracted from the downloaded file.

    After doing above steps, telegram is removed 98% from your PC because still some files stay in /home/<username>/.local folder

    Following are those files, you can remove them if you want to

    /home/ri5h46h/.local/share/TelegramDesktop (This is a Directory)

    /home/ri5h46h/.local/share/icons/telegram.png (Telegram icon)


I removed Telegram using pLumo's answer:

This Telegram app just installs a .desktop file, its icon and a folder where it saves its data:

Remove the folder with the Telegram and Updater file.

Then run:

rm -Rf \
  ~/.local/share/icons/telegram.png \ 
  ~/.local/share/applications/telegramdesktop.desktop \

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .