[FEATURE] Update docs/makefile for command not found
after make install
#1185
Labels
feature
New feature or request
command not found
after make install
#1185
Description
By default,
make install
installs SOCI binaries into/usr/local/bin
. This can be overriden by settingCMD_DESTDIR
when runningmake install
.On some distros,
usr/local/bin
isn't part of the defaultsecure_path
in the sudoers file and so the commands docs (e.g. Build.md), don't work:soci-snapshotter/docs/build.md
Line 75 in 64a6ced
gives:
command not found: soci
.We should update either the makefile or the docs to point people in the right direction.
Describe the solution you'd like
I think this could use some discussion, but the options that I think are available are:
/usr/local/bin/soci --help
)alias soci=sudo /usr/local/bin/soci
and use non-sudo
commands throughtoutsudo env PATH=$PATH
or edit secure path withsudo visudo
/bin
?/usr/bin
?)Describe any alternative solutions/features you've considered
No response
Any additional context or information about the feature request
No response
The text was updated successfully, but these errors were encountered: