Reputation: 22885
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
Upvotes: 31
Views: 122481
Reputation: 1
I use ubuntu and installed my app by snap. My pycharm was closing itself and closing other apps like spotify and google chrome. Reinstall can't help me. The answer from Adarsh helped me the most, thank you. One small addition is to copy the old folders.
My methodology for saving settings and application performance:
Upvotes: 0
Reputation: 436
Try this
sudo snap remove pycharm-professional pycharm-community
sudo apt-get autoclean
sudo apt-get autoremove
Upvotes: 15
Reputation: 2341
I see some of the answers pointing to ~/Library/*
locations which I don't have by default in Ubuntu (specifically 18.04 Bionic Beaver), and maybe pertinent to MacOS systems.
For Ubuntu, here's my list of commands (for a standalone installation):
1. Delete the main app (snap|toolbox app|standalone) **see snap uninstallation cmds above)
# Clear caches and remnant files:
2. Remove the following dirs:
${HOME}/.config/JetBrains/<product><version>
${HOME}/.cache/JetBrains/<product><version>
${HOME}/.local/share/JetBrains/<product><version>
${HOME}/.java/.userPrefs/jetbrains/*
Example:
~/.config/JetBrains/PyCharm2021.3
~/.cache/JetBrains/PyCharm2021.3
~/.local/share/JetBrains/PyCharm2021.3
Upvotes: 2
Reputation: 11238
In Ubuntu you can do
sudo rm -rf ~/.config/JetBrains/PyCharm*
sudo rm -rf ~/.java/.userPrefs/jetbrains/
Upvotes: 2
Reputation: 8566
You can follow their official documentation, they've mentioned the proper way to Uninstall PyCharm depends on the method you used to install it.
Upvotes: 1
Reputation: 21
Open terminal (shortcut: Ctrl+Alt+T) in your ubuntu system and try this command:
sudo snap remove pycharm-community
Upvotes: 1
Reputation: 1
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
Upvotes: 0
Reputation: 116
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 :-)
Upvotes: 4
Reputation: 194
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
Upvotes: 9
Reputation: 1
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.
Upvotes: 0
Reputation: 4432
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.
Upvotes: 20
Reputation: 399
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.
Upvotes: 19
Reputation: 444
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.
Upvotes: 4
Reputation: 1410
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
Upvotes: 33