Sample Header Ad - 728x90

Where should a local user executable be placed (under $HOME)?

173 votes
4 answers
152441 views
I have an executable for the perforce version control client (p4). I can't place it in /opt/local because I don't have root privileges. Is there a standard location where it needs to be placed under $HOME? Does the File System Hierarchy have a convention that says that local executables/binaries need to be placed in $HOME/bin? I couldn't find such a convention mentioned on the [Wikipedia article for the FHS](http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard) . Also, if there indeed is a convention, would I have to explicitly include the path to the $HOME/bin directory or whatever the location of the bin directory is?
Asked by user640378 (2023 rep)
Apr 19, 2012, 02:16 PM
Last activity: Dec 29, 2023, 11:07 PM