You are adding a relative path while creating the symlink. So if you go to /usr/local/bin and do file sage, you'll see that the link is broken. Unlink the created link, (in Linux, unlink sage) then repeat the command but with the complete path. eg: ln -s ~/sage9.1/sage /user/local/bin/sage This worked for me.