Remove Pycharm completely , Ubuntu

2020-05-26 03:16发布

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

9条回答
Explosion°爆炸
2楼-- · 2020-05-26 03:48

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.

查看更多
Bombasti
3楼-- · 2020-05-26 03:58

Try this

 sudo snap remove pycharm-professional pycharm-community
sudo apt-get autoclean 
sudo apt-get autoremove
查看更多
祖国的老花朵
4楼-- · 2020-05-26 03:58

open your terminal as common user

  1. $rm -d -r ~/.PyCharm2019.3

run same command as root user

  1. $sudo su
  2. $rm -d -r ~/.PyCharm2019.3

note PyCharm2019.3 replaced with your PyCharm version

查看更多
【Aperson】
5楼-- · 2020-05-26 04:00

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.

查看更多
放我归山
6楼-- · 2020-05-26 04:02
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
查看更多
Bombasti
7楼-- · 2020-05-26 04:03

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
查看更多
登录 后发表回答