13

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.

Mihai Bujanca
  • 374
  • 3
  • 5
  • 15

5 Answers5

17

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.

Radu Rădeanu
  • 169,590
6

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.
1

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

f_i
  • 131
  • Yep, I installed PhpStorm with snap like "sudo snap install phpstorm --classic" and it was installed into "/snap/phpstorm" – AbstractVoid Dec 05 '20 at 23:14
1

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

0

I located phpstorm and the starting script phpstorm.sh on my Debian Stretch system using this shell cmd:

sudo find / -name "phpstorm*"

Output:

...
/opt/PhpStorm-172.3968.35/bin/phpstorm.sh
...
Jpsy
  • 101