Entweder du installierst dieses Programm für alle Benutzer, oder du passt eben die PATH Variable an.
Bei der Bash ist das so, für Login Shells wird zuerst die Datei /etc/profile verarbeitet, dann wird die datei $HOME/.bash_profile verarbeitet.
Für eine Nicht-Login-Shell wird die Datei $HOME/.bashrc eingelesen.
Ich gebe mal ein Beispiel von meinem Debian testing. Da wird die datei $HOME/.bashrc in die datei $HOME/bash_profile eingelesen:
cat .bash_profile
# ~/.bash_profile: executed by bash(1) for login shells.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/login.defs
#umask 022
# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# the rest of this file is commented out.
#in /home kann jeder Benutzer ein Verzeichnis für ausführbare Dateien, incl. Shellscripte, anlegen
# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi
# do the same with MANPATH
#if [ -d ~/man ]; then
# MANPATH=~/man${MANPATH:-:}
# export MANPATH
#fi
# ---- language-env DON'T MODIFY THIS LINE!
# .bash_profile is executed on login.
if [ -f ~/.bashrc ]
then
# execute .bashrc if it exists.
. ~/.bashrc
fi
# ---- language-env end DON'T MODIFY THIS LINE!
PS: Ich würde fremde Programme in /usr/local/bin installieren. Da weiß man gleich, das diese Programme nicht zur Distribution gehören , und ein Update und die Wartung manuell erfolgen müssen.