does the user you are installing as have acess to write to /usr/local/bin