# Mac OS X

The preferred installation is from the binary distribution. If you have to compile the source code, it gets more complicated (see Compiling Bsoft).

## Download and install in the default location from a disk image

#### Download:

The following was compiled under Mac OS X 10.13.6 (High Sierra):

Bsoft2.dmg

#### Install in the default location:

Double-click on the dmg file - this will mount the disk image.

Double-click on the pkg file - this will launch the Mac installer.

Follow the installation instructions from the installer. The command line programs will install in /usr/local/bsoft, while Bshow and Brun will install in /Applications

## Download and install in a different place

#### Download:

The following was compiled under Mac OS X 10.13.6 (High Sierra):

bsoft2_0_6_OSX_10_13.tgz

#### Install in a user-defined location:

Change to the installation directory:

    		cd /usr/local

Unpack the distribution:

    		tar xzvf bsoft2_0_6_OSX_10_13.tgz

## Set up the environment

Launch a terminal and set up the environment:

    		bsetup

Test that it runs:

    		bimg
    		bshowX