I had installed CLion(2016.2.3) IDE from CLion-2016.2.3.tar.gz
file. I accidentally deleted the CLion-2016.2.3.tar.gz
file and CLion-2016.2.3
folder(which I got after extracting CLion-2016.2.3.tar.gz
). Now CLion isn't working. When I ran dpkg --list
from terminal, CLion wasn't present in the output. I want to remove CLion completely(all its files, folders, dependencies, etc.(even the configuration files)). How do I remove it completely?

- 337
- 2
- 3
- 17
6 Answers
Run the following command in terminal to find all the directories and files containing clion in their name :-
$ sudo find . -iname "*clion*"
Then delete the directories and files you have found.
To delete directories/files, go to the location of that directory/file in terminal using cd and run the following command :-
$ sudo rm -rf DIRECTORY_NAME/FILE_NAME

- 563
- 1
- 6
- 12
-
13You could also run `sudo find . -iname "*clion*" | xargs rm -rf` to do it in one go – kimbo Jul 26 '18 at 16:33
Simple Steps are :
- Delete the clion folder you have downloaded and extracted.
- Remove cache in ~/. using the command : sudo rm -r ~/.Clion.

- 2,992
- 1
- 15
- 9
All Clion's binaries are store inside the folder you deleted.
But Clion sets up preferences at first launch, and you may have a menu icon which is pointing nowhere.
I suggest you run something like find ~ -iname "*clion*"
and investigate what is found. If you are using Gnome2 or MATE desktop you will certainly find .desktop
files which are the icons you are looking for.

- 2,323
- 2
- 23
- 31
-
where I do ~ -iname "clion" It shoulds bash: /home/alireza: Is a directory, any idea what that means? – Alex Jun 15 '17 at 16:36
You need also to remove settings that are stored in ~/. directory. That's it for Unix/Linux.

- 1,857
- 14
- 14
If you used snap to install you can uninstall using
sudo snap remove --purge clion

- 813
- 13
- 24