Do a clean install of linuxmint-17.2-xfce-32bit
Open Firefox once before updating OS so it creates a profile file
Then update OS after update reboot
Make file setup.sh executable and place in home directory
Open terminal and run setup.sh with
sudo ./setup.sh

NOTE: script flie will hang for a few seconds with message showing
Error! Bad return status for module build on kernel: 3.4-9-rtai-686-pae (i686)
Consult /var/lib/dkms/ndiswrapper/1.59/build/make.log for more information.

Just wait everything is fine let script finish

When script gets to end follow directions in Terminal
When you are done close Terminal
--------------------------------------------------------------------------------------------------------
Go to Start Menu-->System-->Grub Customizer
Deciding on a default boot kernel
Now click the "General Setting" tab 
Click on choice box to the right of predefined 
In drop down menu choose Rtai kernel for default system boot
Making sure you do not choose (recovery mode) option for your kernel 
Now click Save, make sure to wait until save has finished.  
   You want to be able to boot into Rtai kernel without having to choose
   and/or to avoid the use of Advanced option for Mint for every start-up
Then reboot your computer then re-open this file and continue
--------------------------------------------------------------------------------------------------------
Setting focus for local git directory
Open Terminal
cd linuxcnc_source

To list all the branches in your local repository
git branch -r

To set focus to 2.7 for build (for other than Master 2.8) if this is not done you will build 2.8
git checkout -b 2.7 origin/2.7
--------------------------------------------------------------------------------------------------------
Now start compile process

cd debian
./configure -a
cd ..
dpkg-checkbuilddeps
Install all build depends with sudo apt-get install except: libgl1-mesa-dev | libgl1-mesa-swx11-dev

cd src
./autogen.sh
./configure --htmldir=/home/`whoami`/Documents --enable-build-documentation=html
make
sudo make setuid

The repositories in /etc/apt/sources.list.d/linuxcnc.list will not be needed for future updates
The following will comment them out
Open Terminal
sudo sed -i -e 's/deb http:\/\/linuxcnc.org\/ precise base 2.6/#deb http\:\/\/linuxcnc.org\/ precise base 2.6/' /etc/apt/sources.list.d/linuxcnc.list
sudo sed -i -e 's/deb http:\/\/us.archive.ubuntu.com\/ubuntu precise main universe/#deb http\:\/\/us.archive.ubuntu.com\/ubuntu precise main universe/' /etc/apt/sources.list.d/linuxcnc.list
sudo sed -i -e 's/deb-src http:\/\/us.archive.ubuntu.com\/ubuntu precise main universe/#deb-src http\:\/\/us.archive.ubuntu.com\/ubuntu precise main universe/' /etc/apt/sources.list.d/linuxcnc.list
sudo apt-get update

Log out of system then back in
That is it done
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
To enable the use of Linuxcnc from every terminal without running the rip-environment script explicitly we can add it to the .bashrc using the following command:

sh -c "echo 'if [ -f ~/linuxcnc_source/scripts/rip-environment ]; then\n\
    source ~/linuxcnc_source/scripts/rip-environment\n\
    echo \"Environment set up for running LinuxCNC\"\n\
fi\n' >> ~/.bashrc"
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
To run Linuxcnc programs 
Copy and paste into Terminal

cd linuxcnc_source
linuxcnc
latency-test
cd bin;python stepconf  # for stepper motor setup
cd bin;python pncconf   # for Mesa card setup

Of course you could setup <name>.desktop files for menu

