### AVR MacPack 20081213 Overview Installation and Removal Getting Started Documentation Links Release Notes Software Licenses |  |  | # Installing AVR MacPack AVR MacPack comes as a Mac OS X installer package. Simply double-click AVR MacPack.pkg to install. Please restart Terminal after installation to make sure that it inherits the new set of environment variables. The installer adds a component to the PATH environment variable in the files `/etc/profile` and `/etc/csh.login`. AVR MacPack does not include a text editor for editing source files. If you have Xcode already installed (e.g. because you also need to develop software for the Mac), simply use Xcode to edit your sources. TextEdit is not well suited for source file editing because it can't jump to a given line number and the indentation size can't be configured. We recommend BareBone's TextWrangler instead. TextWrangler is free. # Upgrading AVR MacPack installs into `/usr/local/AVRMacPack-<version>` and `/usr/local/AVRMacPack` is always a symbolic link to the version which has been installed last. Several versions of AVR MacPack can therefore coexist. If you want only one version, remove the old installation before installing the new package, or delete it any time later from `/usr/local/`: Shell Session: bash$ cd /usr/local/ bash$ ls -ld AVRMacPack* lrwxr-xr-x 1 root wheel 19 Dec 1 18:04 AVRMacPack -> AVRMacPack-20071201 drwxr-xr-x 15 root wheel 568 Nov 26 22:12 AVRMacPack-20071126 drwxr-xr-x 18 root wheel 612 Dec 1 18:04 AVRMacPack-20071201 bash$ sudo rm -rf AVRMacPack-20071126 Password: # Removing AVR MacPack To remove AVR MacPack, run the following command in a Terminal window: Shell Session: bash$ sudo /usr/local/AVRMacPack/uninstall Password: Are you sure you want to uninstall AVR MacPack 20081213? [y/N] yes Starting uninstall. AVR MacPack is now removed.