Is One Method More Recommended Over Another for Installing Pycharm?

已回答

Running Ubuntu 20.04 on two different laptops. By mistake, I followed two different methods of Pycharm community installation in these. 

  1. By downloading the tarball and extracting. But for this, each time I run pycharm, I have to navigate to the proper directory to run the shell script. 
  2. By snap. This gives me a simple menu under applications to launch pycharm. 

Seems like 2 is recommended. But can I do it in the laptop where I used 1 already without somehow messing up with my current installation (or doing a complete formatting)? What's the best way to do a clean uninstall (purge) of the existing pycharm installation to do 2 in the same laptop? Can I, for example, remove the tarball installation entirely by 

rm --recursive --force /opt/pycharm-community-2022.1.2/bin/

without any side effect and trace? 

Also, is 2 really recommended, and will it update/upgrade more smoothly with the rest of my installed apt-get packages? 

0

Both installation options are fine, so choose whichever works better for you.

You can safely remove the tarball installation and install PyCharm using snap. Your settings and projects won't be lost as they are stored in separate directories.

1

Sergey Karpov thanks a lot for getting back, but will the snap installation upgrade to newer version more seamlessly without manual intervention (like other snap packages)? That seems to be a big benefit. 

Also, what is the correct way to remove the tarball installation? Just delete the entire directory or is there any script or command to do it the recommended way? 

0

Not sure about the automatic upgrade, to be honest, but I think yes. You can also invoke the update manually https://www.jetbrains.com/help/pycharm/update.html and PyCharm will do the update on its own.

Yes, simply removing the entire directory is enough.

1

请先登录再写评论。