Results 1 to 4 of 4
I'm not entirely familiar with the Linux directory structure. Once I've written a program, what's the appropriate place for it? /usr/bin or some other place?...
- 06-29-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 24
[SOLVED] Where do I put my executables?
I'm not entirely familiar with the Linux directory structure. Once I've written a program, what's the appropriate place for it? /usr/bin or some other place?
- 06-29-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,961
You can put it anywhere, but it is not recommended to put it in /usr/bin. If you need to allow access to it by others than yourself, then put it in /usr/local/bin, otherwise, create a bin directory in your home and put it there. That's what I do with personal tools that are not intended for general use. IE:
You can put ~/bin in your PATH so it finds your personal tools and applications. In your .bash_profile, add this:Code:mkdir ~/bin cp exctbl ~/bin
BTW, you only need to create ~/bin once.Code:export PATH=${PATH}:~/binSometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-29-2009 #3
For more info on the Linux directory structure, take a look at the Filesystem Hierarchy Standard.
- 06-30-2009 #4Just Joined!
- Join Date
- Jun 2009
- Posts
- 24
Thanks, that's what I needed.



