LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where to put my binary file (https://www.linuxquestions.org/questions/linux-newbie-8/where-to-put-my-binary-file-701541/)

devinmcelheran 02-01-2009 11:12 PM

Where to put my binary file
 
okay, so I have a binary file "quadratic function", I wrote it in c++ and compiled it, and now I'd like to know where to put it, I think I read /opt somewhere, but most of the applications have there binaries in /usr/bin. So any suggestions will be greatly aprpreciated.

digerati1338 02-01-2009 11:15 PM

You can run it from anywhere. If you want to run it as a command permanently I think /usr/local/bin is the preferred spot for manually installed binaries. The local directory will not be touched by the distribution updates and such.

devinmcelheran 02-01-2009 11:19 PM

okay, thanks


All times are GMT -5. The time now is 03:42 PM.