Search code examples
intellij-ideataruninstallationubuntu-16.04clion

How do I remove CLion-2016.2.3 completely from Ubuntu 16.04 LTS?


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?


Solution

  • 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