Running Debian Stretch on an r710. Using the non-free/contrib build for driver support.
When I try to use packages that I've installed (curl, zpool, etc), I have to include the path to the package... Which is a pain when I don't always know where packages install to.
Two questions:
which <command>
/usr/bin/curl
cd /usr/local/bin; ln -s $(which curl) curl
echo "alias curl='$(which curl)'" >> ~/.bashrc; . ~/.bashrc
printf "%s\n" $PATH
Use the export command to add new paths and see if that works you can then update your ~/.bashrc or ~/.bash_profile, but first you can try in shell without adding it permanent to $PATH
export PATH=$PATH:/missed/bin/folder
function path(){
old=$IFS
IFS=:
printf "%s\n" $PATH
IFS=$old
}