Installed on Ubuntu PhpStorm. A minor update message has arrived. I clicked "update", the update file was downloaded, the IDE was restarted ... and the version remained the same. PhpStorm was launched from the root.

I watched the log, I did not find lines in it that indicate any errors in the update.

How can I upgrade?

  • When you go to check updates , does it say you need to upgrade? if not, then everything was updated - Vasily Barbashev
  • @ Vasily Barbashev, yes, he says. And in the title bar shows the old version. - Byulent

2 answers 2

Introduction

Ubuntu PhpStorm does not update automatically. To update, you need to do about the same steps as when installing it. It must be downloaded, unpacked in a new folder and run from there.

To make the IDE update easier to perform, I wrote github gist . This is the file that will do the routine work for you.

Update

  1. Based on gist, create a file update-phpstorm.sh
  2. Make the file executable chmod +x update-phpstorm.sh
  3. Run the update sudo ./update-phpstorm.sh

You can remove your previous version of PhpStorm if it was not in the /opt/phpstorm . This will need to be done only once. In subsequent updates, the script will automatically delete the previous version from the /opt/phpstorm .

Explanation of the script

  1. The script will download the latest version of the editor.
  2. Removes the old version. (The settings will not be lost, as they are stored in the user's home directory)
  3. Unpack new version
  4. Download java-agent that fixes the problem of hot keys in the Russian keyboard layout.
  5. Updates the phpstorm64.vmoptions file, which registers the launch of the above agent and changes the parameters of memory usage. (If you have a non-64-bit OS, correct the phpstorm64.vmoptions file name on phpstorm64.vmoptions in the phpstorm.vmoptions )
  6. A program icon will be created for running.

Launch

If you are using Unity, then you just have to open Dash and search for PhpStorm in the search.

  • one
    Thanks, but I have already found a solution using Jetbrains Toolbox - Byulent
  • Mark my answer is correct if you think so, or post your answer to make it easier for other people to find a solution. - Jekis

Installed JetBrains Toolbox . After that, it became possible to update PhpStorm using this application.