Installing SVN on a MacOSX box
Open Safari on the destination box. You want to use Safari because of the integration with the MacOSX allowing easier installation.
Navigate to http://metissian.com/projects
Select the binary you want. When in doubt, select the newest one. If you have an older Mac, look for the PowerPC compatible Universal binaries.
The DMG will begin downloading. When completed, you may receive a warning message that your downloaded file contains an executable program. This is what you want, so continue.
Selecting the continue will begin the binary (program) installation. If the installation doesn't automatically continue, and only the DMG opens, double click on the SubversionClient icon (an open box) to continue the SVN installation.
This installation will make the svn commands available on the command line, which means you'll need to use the Terminal application (or X11 + xterm, as I prefer) to access the svn commands. Using the Terminal application will open a shell (bash, csh, tcsh, depending on your configuration), which accepts command line input commands. In order for this to be effective, however, your shell needs to know where the svn commands are. And for this, you may need to adjust the PATH variable.
In particular, you need to add /usr/local/bin to your PATH variable. Edit /etc/csh.login and add ":/usr/local/bin" to the end of the PATH variable:
# System-wide .login file for csh(1). setenv PATH "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin"
If you have existing csh or tcsh shells open, run "rehash" to update your PATH variable. Alternately, log out and log back in or start a new shell.
You will also need to edit /etc/profile for the bash users on your system:
# System-wide .profile for sh(1) PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin" e xport PATH
After updating the paths, you may also need to update your .cshrc or .bashrc if your computer is set up oddly.
If you don't know how to edit these files, you can try these steps:
- Open a Terminal window (Applications -> Utilities -> Terminal)
- Become a super user on your system, either with "
su" and type in the super user's password, or "sudo tcsh" and type in your own password. This assumes you have Administer privileges on your Mac.
f[100]% sudo tcsh Password: f[100]#
- Run
opento start the TextEdit application with the file name on the command line:
f[100]# open -a /Applications/TextEdit.app /etc/profile