Skip to content

Instantly share code, notes, and snippets.

@KurtJacobson
Last active March 23, 2024 07:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save KurtJacobson/f260ff3b2e979f694ed7c1a4c17fa479 to your computer and use it in GitHub Desktop.
Save KurtJacobson/f260ff3b2e979f694ed7c1a4c17fa479 to your computer and use it in GitHub Desktop.
Building LinuxCNC RIP from source

Building LinuxCNC RIP

Clone the source:
git@github.com:LinuxCNC/linuxcnc.git linuxcnc-dev

Configure:
$ cd linuxcnc-dev
$ cd debian
$ ./configure sim

Install build dependencies
$ cd ..
$ dpkg-checkbuilddeps

Copy/paste any list of build deps then install with
$ sudo apt-get install "list of deps"

Check deps again
$ dpkg-checkbuilddeps

Configure
$ cd src
$ ./autogen.sh
$ ./configure

Make
$ make -j4

Allow access to hardware
$ sudo make setuid

Setup RIP environ
$ . ../scripts/rip-environment
You need to run this each time you open a new terminal.

Run LinuxCNC
$ linuxcnc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment