This question already has an answer here:
I'm only able to install new tool in my local directory.
After ./configure --prefix=/local/directory, new tool is installed my local bin.
But by default it's still point to the old version.
How to force csh to use local installed version?