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
问题:
回答1:
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
回答2:
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.
回答3:
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.
回答4:
Try this
sudo snap remove pycharm-professional pycharm-community
sudo apt-get autoclean
sudo apt-get autoremove
回答5:
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.
回答6:
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.
回答7:
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
回答8:
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 :-)
回答9:
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