I am new, never used Ubuntu until yesterday, so I'm not really into it, yet. I installed PhpStorm from JetBrains, but I can't find it anywhere, I need to run it. I searched /usr/share/applications as suggested in another post, but again, no success.

Please give a helping hand. Any terminal command or help with the location I could find it and make a shortcut on the desktop would be appreciated.


Solution 1:

This tutorial can be helpful for what you need: Running PHPStorm.

Run the following commands in terminal:

cd /home/user/PHPStorm/PhpStorm-111.296/bin
chmod +x phpstorm.sh
./phpstorm.sh

You can create a shortcut on the Desktop by using gnome-desktop-item-edit in terminal as follow (note that if you don't have installed the package gnome-desktop-item-edit, you must be install first, so if you have gnome-shell or gnome-tweak-tool installed, then it is installed automatically):

gnome-desktop-item-edit --create-new ~/Desktop

This will start the dialog (Create Launcher):

enter image description here

Insert for Name any name you want (for example 'PHPStorm') and for Command sh /home/user/PHPStorm/PhpStorm-111.296/bin/phpstorm.sh and press Ok.

You can put this .desktop file in any folder, and then drag and drop to the Launcher.

Thanks to Binarylife for this answer.

Solution 2:

I faced similar problem. You can solve this as

1. First locate your phpstorm.sh using command:  locate -b phpstorm.sh
2. Copy these url
2. For Running phpstorm: sudo [paste these url] 
3. For solving this problem permanently use Radu Rădeanu's answer,given     
at top.

Solution 3:

A bit late to the party, but I had the exact same problem which brought me here, however I found the answer in this post.

The short answer which worked for me: open the terminal and type the following at the command prompt: locate -b WebStorm

Solution 4:

If the software is installed with ubuntu software center, its likely using snap and the downloaded src files can be found at /snap/phpstorm