MAC EI Capitan Update system comes with SVN version number (Turn off SIP side sudo rm)

Source: Internet
Author: User

Following last night. decided to update the SVN that comes with the system. The SVN version number that comes with it is 1.7. Crossing Network Svn:http://www.wandisco.com/subversion/download#osx The latest version number is 1.9.13, decided to upgrade under.

Unexpectedly due to EI Capitan sip problem Toss a good freshman meeting. Would not have wanted to record. But because sip this egg-ache thing decides still to record. Procedures such as the following:

1. Which SVN

Find the SVN path that comes with the system. should be in/USR/BIN/SVN.

Then under the/usr/bin folder, ls Svn*|xargs sudo rm deletes all the things that start with SVN, and then the question comes:

The display is that you do not have permission because Ei Capitan is protected against the/usr/bin folder.

It has a sip (System Integrity Protection) thing, see: http://tipsplus.me/2015/10/disable-sip.html in order to be able to write successfully in the old SVN, the SIP must be closed

2. Restart the Mac. Then press CMD + R to not put, note is kept pressed.

After entering the recovery mode, find the terminal, enter the csrutil disable Restart the computer can be.

PS: Feel this sip is still a bit of use. If you want to open the same method, enter Csrutil enable.

3. Then under the/usr/bin folder ls Svn*|xargs sudo rm will be able to be removed and downloaded on the official website 1.9.3-1 version number of the svn,subversion-1.9.3_10.10.x.pkg. Double-click Install. Finally installed under the/opt/subversion/folder. Then:sudo ln-s/opt/subversion/bin/svn*/usr/bin/ so you don't have to set path OK.

Enter SVN--version to verify the installation is successful!


MAC EI Capitan Update system comes with SVN version number (Turn off SIP side sudo rm)

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.