W
W
WebDev2016-12-09 10:52:34
ubuntu
WebDev, 2016-12-09 10:52:34

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 answer(s)
E
Erelecano Oioraen, 2016-12-09
@kirill-93

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 question

Ask a Question

731 491 924 answers to any question