I know that when I install a program from source is possible to make it run in terminal only by typing its name using these two ways
- copy executable file from home directory to
/usr/local/bin. - add its path to the
PATHin~/.bashrcfile.
Which file (or better to say which type of file) from home directory I should add to /usr/local/bin? Please do not tell me just executable! I saw a lot of executable files in my home/myprogram directory with this command:
find . -perm -u+x -type f
from How to find executables. Also there is a file named myprogram. Should I add this to /usr/local/bin?