I downloaded a binary file for a shell executable, and the corresponding man pages, from a source I trust. Unpacking the archive returns a binary file and some man pages. There's no installer. Which is the "canonical" location to put this kind of stuff? I guess it should be somewhere on my PATH
. echo $PATH
returns:
$ echo $PATH
/Users/.../google-cloud-sdk/bin:/anaconda3/bin:/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/.../bin:/opt/X11/bin
Of these, I seem to recall that tampering with /usr/local/
is considered bad practice. Logically, Users/.../google-cloud-sdk/bin:/anaconda3/bin:/anaconda3/condabin
also don't seem appropriate. This leaves me with /usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
. Which one should I use? Or am I going about this the wrong way?
Also, do the binary file and the man pages go into the same folder? Or do they go to different folder?
PS I really wonder how much effort would have been to add a damn installer....