Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PhpStorm update on Ubuntu/Mint

Tags:

I am running PhpStorm on Linux Mint installed in /opt. PhpStorm is notifying me that there is an update available (8.0.3), but then it tells me it doesn't have write permission to apply the update, and that I should run it as a privileged user to update it.

If I run phpstorm.sh as root/sudo it asks for license info and looks as though it's running the installer rather than the program. PhpStorm is licensed when I run it from the desktop.

So how can I run updates?

like image 398
Ally Avatar asked Feb 20 '15 16:02

Ally


People also ask

How do I upgrade PhpStorm?

Alternatively, from the main menu, select Help | Check for Updates on Windows or Linux, or PhpStorm | Check for Updates on macOS.

How do I download and install PhpStorm on Ubuntu?

Install and use PhpStorm from the source tarballVisit the PhpStorm JetBrains official website (https://www.jetbrains.com/phpstorm/), and click on 'Download now'. Click on 'Download' to download the PhpStorm tarball for Linux. Click on 'Save file' and then click on 'OK'.

Where should I install PhpStorm Ubuntu?

By default, PHPStorm IDE should be installed in the path $HOME/. local/umake/ide/phpstorm.


1 Answers

I had the same issue and was able to change ownership of the PhpStorm folder to get it to work. Assuming your username is newownername and PhpStorm installation is located in /opt/phpstorm, the command should look like this:

chown -R newownername /opt/phpstorm 

Note that you should change username and path to appropriate values.

like image 86
Tim Avatar answered Oct 21 '22 12:10

Tim