On Jun 7, 2008, at 13:29, Robert Dailey wrote:
> On Sat, Jun 7, 2008 at 11:43 AM, Stefan Sperling wrote:
>
>> On Sat, Jun 07, 2008 at 10:39:42AM -0500, Robert Dailey wrote:
>>
>> > Well, thanks for the help guys. I think I finally got "make"
>> and "make
>> > install" to work, and when I go to /usr/local/bin, I see all
>> of the
>> > subversion programs. However, when I use 'svn' from the
>> command line, it
>> > says:
>> >
>> > bash: /usr/bin/svn: No such file or directory
>>
>> You deinstalled the Ubuntu subversion package, but your shell still
>> thinks the svn binary should be in the location where the package had
>> put it. You can try to run the "rehash" command to make your shell
>> pick
>> up the new location of the svn command, some shells need this.
>>
>> Or just start and use a new shell.
>>
>> Restarting PuTTY helped! I can now use svn anywhere.
>>
>> And make sure /usr/local/bin is in your shell's $PATH!
>>
>> If you're using the bash shell, a line like this at the very end
>> of the file .bashrc in your home directory should do the trick:
>>
>> export PATH="/usr/local/bin:$PATH"
>
>
> I'm not sure what you're trying to do here. I was able to find
> my .bashrc file, but I didn't see anything about /user/local/bin in
> it. What is $PATH? Remember, I'm still new to linux :(
If you want your shell to be able to find programs installed in /usr/
local/bin, then /usr/local/bin needs to be in your PATH environment
variable. The command Robert gave
export PATH="/usr/local/bin:$PATH"
can be added to your ~/.bashrc to cause /usr/local/bin to be put at
the beginning of the PATH (before the paths your system already puts
there, like /bin and /usr/bin) every time you launch your shell.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-08 10:27:51 CEST