On my working directory, I tried to check out the code as follows:
svn co http://svn.apache.org/repos/asf/mahout/trunk
But the system says:
zsh: command not found: svn
Does that mean that I did not install svn correctly. How to fix that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
More likely, it means that the svn executable is not on the system path. Create a symbolic link to it in /usr/bin
UPDATE:
I was going for the path of least resistance, but @derobert is right about root or sudo privileges needed for that. Never think about it, because I’m never a restricted user. Appending to
PATHis probably the only way a restricted user can do it:Ideally, that should go in one of your user preference startup scripts. It’s usually something like
~/.profile. In bash, it’s~/.bash_rcor in some cases~/.bash_profile. Not sure about in Zsh, though, but look for something along those lines.