Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I uninstall subversion on OS X

Tags:

macos

I did svn --version on command line and it says it is 1.17.10.

I want to uninstall it completely, so I can re-install 1.16.12

How do I do that in OS X?

Thanks

like image 994
Jake Avatar asked Oct 14 '13 21:10

Jake


1 Answers

As said Mike Christensen, in order to uninstall it, you just need to delete the binary. Run which svn to know where your binary is installed.

In order to install subversion, you need to:

  1. Download it.
  2. Uncompress it (tar xzf subversion-1.x.y.tar.gz).
  3. Compile it (./configure && make).
  4. Install it (sudo make install).

I’m pretty sure this will install it in /usr/local/bin. So if you want svn to call the subversion you just installed (instead of the one built in XCode), you need to edit your $PATH so that /usr/local/bin is before /usr/bin. On Mac OS X, editing the path is done by editing the file /etc/paths.

Note that steps 3 and 4 requires a compiler and make. The easiest way to get those on Mac OS X is to install XCode.

like image 87
Étienne Miret Avatar answered Oct 20 '22 09:10

Étienne Miret