sudo apt-get update sudo apt-get dist-upgrade sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 3cb9fd148f374fef sudo add-apt-repository "deb http://linuxcnc.org/ precise base 2.7-rtai" sudo apt-get update sudo apt-get -y install linux-image-3.4-9-rtai-686-pae rtai-modules-3.4-9-rtai-686-pae sudo apt-get -y install linux-headers-3.4-9-rtai-686-pae reboot and hold the left shift key down to get to the boot menu select advanced options and pick the 3.4-9-rtai-686-pae kernel uname -r should report 3.4-9-rtai-686-pae git clone git://git.linuxcnc.org/git/linuxcnc.git lcnc sudo apt-get install -y devscripts build-essential sudo apt-get install -y imagemagick texlive-font-utils tcl8.6-dev tk8.6-dev sudo apt-get install -y libxaw7-dev libncurses-dev libreadline-gplv2-dev sudo apt-get install -y dblatex groff python-dev python-tk libglu1-mesa-dev sudo apt-get install -y libgtk2.0-dev asciidoc source-highlight sudo apt-get install -y libboost-python-dev texlive-lang-cyrillic debhelper sudo apt-get install -y texlive-lang-french texlive-lang-spanish sudo apt-get install -y texlive-lang-german libmodbus-dev dvipng sudo apt-get install -y libusb-1.0-0-dev graphviz inkscape python-numpy sudo apt-get install -y python-imaging-tk python-gtkglext1 tclreadline blt sudo apt-get install -y bwidget libtk-img tclx cd lcnc git checkout -b 2.7 origin/2.7 debian/configure -r ; debuild -uc -us cd .. sudo dpkg -i linuxcnc_2.7.4_i386.deb sudo dpkg -i linuxcnc-doc-en_2.7.4_all.deb