Answer the question
In order to leave comments, you need to log in
How to add a file to /bin ubuntu?
Download phpstorm, put it in the /opt/phpstorm directory. I launch it like this gksudo /opt/phpstorm/bin/phpstorm.sh
How can I make it so that the storm can be launched with the command gksudo phpstorm
For this, you need to put the binary in / usr / bin, for example. But there is no binary.
Answer the question
In order to leave comments, you need to log in
1. Do not add anything to / bin or / usr / bin, these are system directories, only the package manager should add there.
2. Set up a PATH variable, write it to yourself like PATH=$PATH:/opt/phpstorm/bin
3. Don't run this stuff as root, you don't need gksudo to run the php file editor.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question