Debian 9 LinuxCNC¶
Update and install needed software
In a terminal
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install dirmngr
sudo apt-get install software-properties-common
To install the current stable release of LinuxCNC 2.7
In a terminal
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 3cb9fd148f374fef
sudo add-apt-repository "deb http://linuxcnc.org/ stretch base 2.7-uspace"
To install the latest build of LinuxCNC 2.7 from the Buildbot
In a terminal
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key E0EE663E
sudo add-apt-repository "deb http://buildbot.linuxcnc.org/ stretch 2.7-rtpreempt"
To install the latest build of LinuxCNC 2.8 from the Buildbot
In a terminal
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key E0EE663E
sudo add-apt-repository "deb http://buildbot.linuxcnc.org/ stretch 2.8-rtpreempt"
To install the latest build of LinuxCNC 2.9 from the Buildbot
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key E0EE663E
sudo add-apt-repository "deb http://buildbot.linuxcnc.org/ stretch master-rtpreempt"
Update and install LinuxCNC
sudo apt-get update
sudo apt-get install linuxcnc-uspace
To have the LinuxCNC devel package for things like halcompile
sudo apt install linuxcnc-uspace-dev
If you installed 2.8 or newer go to System > Control Center > Main Menu and delete the Vietnamese G code quick reference unless you speak Vietnamese.
Open a new terminal and issue the following to stop LinuxCNC from being a PIA about quitting.
echo 'root_window.tk.call("wm","protocol",".","WM_DELETE_WINDOW","destroy .")' > .axisrc
If you’re using a Mesa Ethernet card go to the Debian 9 Ethernet page and set up the NIC
If you’re going to be using the QtPyVCP then go to the Quick Start page.
QtPyVCP is a Qt and Python based framework for building virtual control panels for the LinuxCNC machine control.
The goal is to provide a no-code, drag-and-drop system for making simple VCPs, as well as a straightforward, flexible and extensible framework to aid in building complex VCPs.
My QtPyVCP Tutorial for a small touch screen (800 x 600).
The Tutorial VCP complete can be downloaded from my GitHub page