I want to remove my old pycharm completely from my Ubuntu machine so my new installation will not be affected from previous settings. Any help will be appreciated
As Pycharm doesn't have any install or uninstall program for ubuntu, the best way to delete it completely is by deleting the directory into which you have unpacked it and the .PyCharmx.x directory.
if you have installed using ./pycharm.sh then
press ctrl+H to see the hidden folders in Home then go to .config then JetBrains there you delete the PyCharm folder
Now you can reinstall pycharm or enjoy your pycharm free PC :-)
sudo find / -name *PyCharm*
Delete all output directories.
For example:
$ sudo find / -name *PyCharm*
[sudo] password for MY_USERNAME:
/home/MY_USERNAME/.cache/JetBrains/PyCharmCE2020.1
/home/MY_USERNAME/.PyCharmCE2019.1
$ rm -rf /home/MY_USERNAME/.cache/JetBrains/PyCharmCE2020.1 /home/MY_USERNAME/.PyCharmCE2019.1
Try this
sudo snap remove pycharm-professional pycharm-community
sudo apt-get autoclean
sudo apt-get autoremove