Building a LinuxCNC 2.9 simulator on Linux Mint 21.3
An update on my previous guide for LM 19.3 on how to set up a LinuxCNC simulator on Linux Mint 21.3 Virginia. The LinuxCNC simulator is useful for testing/debugging drivers, gcode parsing and other non-realtime features without having to crawl around under your machine's actual control.
Versions
- LinuxCNC Git at tag
v2.9.2
(ac9a84a
). - Linux Mint 21.3 Cinnamon
- Kernel 6.5.0-14-generic
Dependencies
There might be an issue finding yapps
where it's installed as yapps2
. In this case, remove the
yapps2
line from above, and run this as well:
Build
The following steps are a condensed version of the official build docs.
--with-realtime=uspace
will compile LinuxCNC to run on non-realtime kernels, or kernels that use the Preempt-RT patches.--enable-non-distributable=yes
squelches a warning. Remove this flag to see a message with alternatives.