We will use MacPorts in order to install Subversion on our systems. If you don’t have MacPorts installed, you can obtain the .dmg install file from its project install page at http://www.macports.org/install.php.
The first thing we will do is to update MacPorts if needed. Open a terminal window and type in the following command:
sudo port -v selfupdate
Once MacPorts has updated, we will install the three Subversion dependencies. From the terminal window, enter:
sudo port install sqlite3 sudo port install apr-util sudo port install neon
When those have finished installing, you can install Subversion with the following command:
sudo port install subversion
You are now ready to begin making Subversion requests from the terminal window.