Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update Webstorm in Linux?

I have Webstorm in Linux, and I am getting an alert indicating there is an update, I am trying to get some info from the web, but everything I get is HOW TO INSTALL IT and nothing regarding how to update it.

So, what should I do to update my Webstorm ?

like image 585
Non Avatar asked Jun 24 '15 17:06

Non


People also ask

How do I update my WebStorm version?

If you installed WebStorm manually, updates are managed by the standalone instance itself. It will notify you when a new version is available. You can choose to update the current instance, download and install the new version as a separate instance, postpone the notification, or ignore the update entirely.

How do you update IDE?

Open the Preferences window by clicking File > Settings (on Mac, Android Studio > Preferences). In the left panel, click Appearance & Behavior > System Settings > Updates. Be sure that Automatically check for updates is checked, then select a channel from the drop-down list (see figure 1). Click Apply or OK.

How do I open WebStorm in terminal?

From the main menu, select View | Tool Windows | Terminal or press Alt+F12 .


2 Answers

It depends on update type. If a patch update is available, you are normally prompted to update and restart - on restarting the patch is applied. But patch updates are only available for subsequent minor releases. In other cases, you need to download the full installation package from main downloads page and install it into the empty directory (NOT over existing installation!) When updating to a new major version, you will be prompted to import your settings from previous installation on the first start

like image 139
lena Avatar answered Nov 09 '22 21:11

lena


This leaves the launcher broken. Pointing to the old directory. Easy to fix in KDE but a bitch in gnome.

How do you upgrade to a new version of WebStorm without breaking your launcher?


Update: This is for Ubuntu Gnome 16.04...

Ok. I figured it out. Here's how to fix it. In the terminal navigate to /usr/share/applications

cd /usr/share/applications

Delete the old launcher...

sudo rm jetbrains-webstorm.desktop

Navigate to the directory where webstorm.sh is installed. In my case it's /opt/WebStorm-162.1121.31/bin. Run it as a super user...

sudo ./webstorm.sh

In the splash screen, select "Configure | Create Desktop Entry" from the menu in the bottom right corner. Since you launched it as sudo, just accept the super user warning, and you will have a new launcher. Quit WebStorm, close the terminal, and now you can launch WebStorm from the applications menu.

like image 36
Phillip Avatar answered Nov 09 '22 23:11

Phillip