Subversion version method for upgrading terminal/terminal under Mac

Source: Internet
Author: User
Tags openssl library

Although the code management has been Git-enabled, even if you need to protect some old cases or use SVN, lazy .

Mac OS itself has built-in SVN, but it is version 1.6, recently modified an old case has encountered project has risen 1.7,versions and SMARTSVN also use 1.7, only Terminal command line is 1.6 of the embarrassment Border. So I want to update it, in the simplest way.

First to Http://www.wandisco.com/subversion/download for Mac OS SVN, the latest version is Subversion 1.7.16 for OSX 10.8.x. Then, in the general App installation mode, the installation path is/opt/subversion.

Then enter export Path=/opt/subversion/bin in Terminal : $PATH To change the system path. Sauce, done.

You can use SVN--version to see the version number.

Post-Installation Notes

You are successfully installed the Subversion 1.9.4 Universal binary for OS X El Capitan (10.11).  Remember to Prepend/opt/subversion/bin to your PATH environment variable. This can-be-done a multitude of ways-an-one is-to-add the following to the end of ~/.profile:

Export Path=/opt/subversion/bin: $PATH

If you plan on running a apache-based Subversion server, you'll also need to prepend the Dyld_library_path variable in /usr/sbin/envvars With/opt/subversion/lib So, the Subversion libraries shipped with this binary is used instead of T  Hose supplied by the operating system. Here is a example snippet of What/usr/sbin/envvars might look like after making these changes:

...

Dyld_library_path= "/opt/subversion/lib:/usr/lib: $DYLD _library_path"

...

You'll also need to update the SSL portion of your httpd.conf if you ' re using SSL:

Sslprotocol ALL-SSLV2-TLSV1

What's this does are disable SSL v2 and TLS which would force SSLv3. The reason for around a bug on the OpenSSL library shipped with OS x.

These packages is provided by WANdisco (http://www.wandisco.com). If you wish to get help or provided feedback, please email [email protected]

Subversion version method for upgrading terminal/terminal under Mac

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.