Ubuntu Precise 12.04 x86 (32-bit) 安装 LinuxCNC
7.2. Installing on Ubuntu Precise
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 the following to bring the machine up to date with the latest packages in Ubuntu Precise.
sudo apt-get update
sudo apt-get dist-upgrade
Add the LinuxCNC Archive Signing Key to your apt keyring by running
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 3cb9fd148f374fef
Add a new apt source
sudo add-apt-repository "deb http://linuxcnc.org/ precise base 2.7-rtai"
Fetch the package list from linuxcnc.org.
sudo apt-get update
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