Toolkit Installation on Mac OS X
Prev | Chapter 1. Overview | Next

## Toolkit Installation on Mac OS X

Toolkit installation on Mac OS X™ is essentially identical to installation on Linux but special steps are needed before starting.

First, you must install the toolkit as the `root` user or you will be denied permission. The `root` user account is disabled by default and so you must enable it in order to login. Follow instructions at Enabling the "root" user in Mac OS X to enable the account and login. After installation, toolkit programs should be run from a normal user account.

Second, Mac OS X™ does not include C Language development tools by default. You must download and install them in order to build the toolkit. You can download and install them from the Apple website or (if you are ambitious) download, compile and install them from various open source websites. Consider using Xcode on Mac OS X Leopard or Lion.

Login as the root user and download or copy the toolkit archive file to your preferred folder then follow the instructions for installing the toolkit on Linux.

Example 1.3. Setting the `PATH` variable on OS X™

While still logged in as the `root` user, edit `/etc/profile` and add folder`/usr/local/bin` to the `PATH` definition found there. This will ensure that all users can access toolkit programs. The change may not take effect until the next time you login or open a new command shell.

    PATH="/bin:/sbin:/usr/local/bin"

Example 1.4. Removing the Toolkit from Mac OS X™

While still logged in as the `root` user, remember to delete the toolkit source folder or, at least change ownership of all files in the toolkit folder, so that you can access and/or remove them later. This deletes the toolkit source code and intermmediate files without removing any installed toolkit programs.

    cd ..
    rm -r plc-utils-x.x.x

Prev | Up | Next
Toolkit Installation on Linux | Home | Toolkit Installation on Windows XP™