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
Incase if pycharm is installed using snap package
then you could remove it by running following commands:
sudo snap remove [pycharm-professional|pycharm-community]
rm -rf ~/.PyCharm2017.3
rm -rf ~/.java/.userPrefs/jetbrains/pycharm/
replace .PyCharm2017.3
with your installed version.
open your terminal as common user
$rm -d -r ~/.PyCharm2019.3
run same command as root user
$sudo su
$rm -d -r ~/.PyCharm2019.3
note PyCharm2019.3 replaced with your PyCharm version
Open terminal (shortcut: Ctrl+Alt+T) in your ubuntu system and try this command:
sudo snap remove pycharm-community
You can try the following commands it will completely delete the pycharm with its preferences from ubuntu.
rm -fv /usr/local/bin/charm
rm -rfv ~/Library/Preferences/PyCharm?0
rm -rfv ~/Library/Caches/PyCharm?0
rm -rfv ~/Library/Application\ Support/PyCharm?0
rm -rfv ~/Library/Logs/PyCharm?0
If you installed by ./pycharm.sh
Remove all folder and files below :
/usr/local/bin/charm => should rm with sudo
~/.Pycharm<version>
~/.local/share/icons/jetbrains-pycharm.png
~/.local/share/applications/jetbrains-pycharm.desktop
~/.java/.userPrefs/jetbrains/
And now you can reinstall new version, or having a clean pc without pycharm.
Maybe, is a little convenience to leave this hidden file for update "major" installation: for example, since PyCharm Community Edition 2.4 to 2.6, I found this in home directory: PyCharmCE2018.2; the installer suggests use (default) or ignore.