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
PATH
in~/.bashrc
file.
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
?
configure
or something to make such things easy for you.. check this link: installing from source – rusty Mar 30 '14 at 07:29