cd into the new version of python's bin directory, e.g., /pycharm-/bin/ folder that contains pycharm.sh (you can use locate pycharm.sh to help you find this directory).go to File -> Export Settings (Alt + F, E).unpack the new version (downloaded straight from their website) next.So, just so this is a complete answer, the whole process to update pycharm and preserve settings was just: Įxporting and Importing settings is very well implemented in pycharm, and is detailed here: I would have added this as a comment on the accepted answer, but. There is likely a ~/.P圜harm40/ or ~/.P圜harm30/ directory in your home directory. Once you've started P圜harm, you can recreate your desktop entry with a couple clicks. Mine fired right up, opened my projects, files, and settings just like they were before. ![]() ![]() You should now be able to run P圜harm: Environment]$ sh pycharm-community-4.5/bin/pycharm.sh P圜harm on Linux doesn't need special installation or running any installation script. Remove the pycharm-*.tar.gz to save disk space (optional): Environment]$ rm Environment]$ ls Pycharm-community-4.5 pycharm-community-4.5.tar.gz Unpack the pycharm-*.tar.gz: Environment]$ tar xfz Environment]$ ls Remove the old P圜harm installation: Environment]$ rm -rf Environment]$ ls Pycharm-community-4.0.6 pycharm-community-4.5.tar.gz (make sure you have rw permissions for that directory, mine is in ~/Environment/): Downloads]$ mv pycharm-community-4.5.tar.gz Downloads]$ cd Environment]$ ls Change directories, release names, and version numbers to match your situation.Īdapted from the P圜harm download page install instructions:Ĭopy the pycharm-*.tar.gz to the current P圜harm installation location I'll be updating from P圜harm Community 4.0.6 installed at ~/Environment/ to P圜harm Community 4.5 on Fedora 21. desktop files, if incorrect, to match your P圜harm path: Icon=/opt/pycharm-201X.X.X/bin/pycharm.pngĮxec="/opt/pycharm-201X.X.X/bin/pycharm.sh" %f home/yourusername/.local/share/applications/sktopĮdit these lines to the affected. Output should be something like: $ locate *.desktop | grep -i pycharm desktop files, using a tool such locate: $ sudo updatedb The only snag which I found was after the upgrade, my desktop launcher was broken. I recently upgraded from version 2017.2 to 2017.5, and did so using a tarball which I'd previously downloaded. Once you're done, re-apply root privileges $ sudo chown -R root:root /opt/pycharm_dir/ If selected, P圜harm will upgrade itself, and upon relaunching, should prompt you to import your previous config, file, which is typically found here: ~/.P圜harm201X.X/config If you've installed under /opt, temporarily elevate privileges: $ sudo chown -R yourusername:root /opt/pycharm_dir/ P圜harm will prompt you that an upgrade is available. We always look forward to your feedback and bug reports in our issue tracker.From the 2017 versions onward, it is now possible to perform a seamless upgrade without being required to download a tarball. You can find a full list of the resolved issues in the release notes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |