LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   setting the path for a command?? (https://www.linuxquestions.org/questions/linux-software-2/setting-the-path-for-a-command-301022/)

arunsri 03-13-2005 03:55 AM

setting the path for a command??
 
I have a binary(executable) file and wanted it installed.So, I copied the binary and its libraries to /usr/local/myapp.

Now, i want the command(my executable) to be recogonized from the command line.How do i do it?Please Help.

Thanks
Arun

acid_kewpie 03-13-2005 04:26 AM

you can either add that path onto your path statement, e.g. "export path=$path:/usr/loca/myapp", or create a symlink to that app in a more standard location, e.g. "ln -s /usr/local/myapp/myappbin /usr/bin/myappbin"


All times are GMT -5. The time now is 06:04 PM.