[Home]History of LinuxCNC On Ubuntu Precise

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

Revision 7 . . July 30, 2014 8:13 am by Seb Kuzminsky
Revision 6 . . July 22, 2014 7:23 am by outpost.timeguy.com [Recommend wheezy over precise]
Revision 5 . . July 16, 2014 8:05 am by SebKuzminsky [* new kernel & rtai package names]
Revision 4 . . June 3, 2014 8:57 am by SebKuzminsky [* use a single apt-key line instead of a short shell script...]
Revision 3 . . April 3, 2014 8:56 pm by SebKuzminsky [* add apt option for linuxcnc 2.6]
Revision 2 . . December 20, 2013 8:30 am by CNCDreamer [*add sudo to step 6]
Revision 1 . . December 14, 2013 2:31 pm by SebKuzminsky

Difference (from prior major revision) (no other diffs)

Changed: 1,26c1

Use Debian Wheezy instead

Unless you have a good reason to choose Ubuntu, consider Debian Wheezy instead. There is a live+install image customized with RTAI and LinuxCNC 2.6; announcement here:


To run LinuxCNC on Ubuntu Precise 12.04 with RTAI

# Install Ubuntu Precise 12.04 x86 (32-bit). Any flavor should work (regular Ubuntu, Xubuntu, Lubuntu, etc). 64-bit (AMD64) is currently not supported. You can download the installer here: http://releases.ubuntu.com/precise/
# Run sudo apt-get update followed by sudo apt-get dist-upgrade to bring the machine up to date with the latest packages in Ubuntu Precise.
# Create a file called /etc/apt/sources.list.d/linuxcnc.list, containing the line: deb http://linuxcnc.org precise base
# Add the LinuxCNC Archive Signing Key to your apt keyring by running sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 8f374fef
# Run sudo apt-get update again to fetch the package list from linuxcnc.org.
# Install the RTAI kernel and modules by running: sudo apt-get install linux-image-3.4-9-rtai-686-pae rtai-modules-3.4-9-rtai-686-pae
# If you want to be able to build LinuxCNC from source using the git repo, also run sudo apt-get install linux-headers-3.4-9-rtai-686-pae
# Reboot, and make sure you boot into the rtai kernel. When you log in, verify that uname -r says 3.4-9-rtai-686-pae
# Create a file called /etc/apt/sources.list.d/linuxcnc-buildbot.list, containing one of these lines (depending on which version of linuxcnc you want):
##deb http://buildbot.linuxcnc.org precise 2.6-rt
##deb http://buildbot.linuxcnc.org precise master-rt
##deb http://buildbot.linuxcnc.org precise v2.5_branch-rt
# Run sudo apt-get update again to fetch the package list from the buildbot. This will complain as the buildbot does not sign its package archive. I know, I know, it's on my todo-list....
# Run sudo apt-get install linuxcnc
# Machine away!

We're interested in feedback on this new, experimental RTAI kernel. Let us know on the emc-users or emc-developers mailing lists if it works, or if it doesn't.
These instructions have moved to the UpdatingTo2.6 page.

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
Published under a Creative Commons License