@@ -17,8 +17,8 @@ are two versions of LinuxCNC which work with these kernels. See the table
1717below for details.
1818
1919Fresh installs of LinuxCNC are most easily created using the Live/Install
20- Image. This is a hybrid ISO filesystem image that can be written to a
21- USB storage device or a DVD and used to boot a computer. At boot time you
20+ Image. This is a hybrid ISO filesystem image that can be written to a
21+ USB storage device or a DVD and used to boot a computer. At boot time you
2222will be given a choice of booting the "Live" system (to run LinuxCNC
2323without making any permanent changes to your computer) or booting the
2424Installer (to install LinuxCNC and its operating system onto your
@@ -242,7 +242,9 @@ during the boot up.
242242The easiest, preferred way to install LinuxCNC is to use the Live/Install
243243Image as described above. That method is as simple and reliable as we
244244can make it, and is suitable for novice users and experienced users alike.
245- However, this will typically replace any existing operating system.
245+ However, this will typically replace any existing operating system. If
246+ you have files on the target PC that you want to keep, then use one of
247+ the methods in this section.
246248
247249In addition, for experienced users who are familiar with Debian system
248250administration (finding install images, manipulating apt sources, changing
@@ -254,12 +256,13 @@ run on any 64-bit x86 system)
254256|===
255257| Distribution | Architecture | Kernel | Package name | Typical use
256258| Debian Bookworm | amd64 & arm64 | preempt-rt | linuxcnc-uspace | machine control & simulation
259+ | Debian Boolworm | amd64 | RTAI | linuxcnc | machine control
257260| Debian Bullseye | amd64 | preempt-rt | linuxcnc-uspace | machine control & simulation
258261| Debian Buster | amd64 & arm64 | preempt-rt | linuxcnc-uspace | machine control & simulation
259262| Debian Buster | amd64 | RTAI | linuxcnc | machine control
260263|===
261264
262- NOTE: LinuxCNC v2.9is not supported on Debian 9 or older.
265+ NOTE: LinuxCNC v2.9 is not supported on Debian 9 or older.
263266
264267.Preempt-RT kernels
265268
@@ -283,7 +286,7 @@ there are very few surviving systems that can not run a 64-bit OS.
283286=== Installing on Debian Bookworm (with Preempt-RT kernel)
284287
285288. Install Debian Buster (Debian 12), amd64 verison.
286- You can download the installer here:
289+ You can download the installer here:
287290 https://www.debian.org/releases/buster/
288291
289292. After burning the iso and booting up if you don't want Gnome desktop select
@@ -301,6 +304,10 @@ sudo apt-get update
301304sudo apt-get dist-upgrade
302305----
303306
307+ NOTE: It is possible to download a version of LinuxCNC directly from Debian
308+ but this will install an old pre-release version, and is not recommended
309+ at this time.
310+
304311. Install the Preempt-RT kernel and modules
305312+
306313----
@@ -326,58 +333,26 @@ uname -v
326333 grub boot configuration changes will be needed beyond the scope of this
327334 document.
328335
329- . Add the LinuxCNC Archive Signing Key to your apt keyring by running
330- +
336+ . Add the LinuxCNC Archive Signing Key to your apt keyring by downloading
337+ [the LinuxCNC installer script](https://www.linuxcnc.org/linuxcnc-install.sh)
338+ You will need to make the script executable to run it:
331339----
332- sudo apt-key adv --keyserver hkp://keys.openpgp.org --recv-key 3cb9fd148f374fef
333- Alternate keyserver: keyserver.ubuntu.com
340+ chmod +x linuxcnc-install.sh
334341----
335-
336- . Add the apt repository:
337- +
342+ Then you can run the installer:
338343----
339- echo deb http://linuxcnc.org/ bookworm base 2.9-uspace | sudo tee /etc/apt/sources.list.d/linuxcnc.list
340- echo deb-src http://linuxcnc.org/ bookworm base 2.9-uspace | sudo tee -a /etc/apt/sources.list.d/linuxcnc.list
341- ----
342-
343- . Update the package list from linuxcnc.org
344- +
345- ----
346- sudo apt-get update
347- ----
348-
349- . Install uspace (a reboot may be required prior to installing uspace)
350- +
351- ----
352- sudo apt-get install linuxcnc-uspace
353- ----
354-
355- . Optionally you can install mesaflash if your using a Mesa card.
356- +
357- ----
358- sudo apt install mesaflash
344+ sudo ./linuxcnc-install.sh
359345----
360346
361347[[cha:Installing-RTAI]]
362348=== Installing on Debian Bookworm (with experimental RTAI kernel)
363349
364350. This kernel and LinuxCNC version can be installed on top of the LiveDVD
365- install, or alternatively on a fresh Install of Debian Buster 64-bit
351+ install, or alternatively on a fresh Install of Debian Bookworm 64-bit
366352 as described above
367- . Add the LinuxCNC Archive Signing Key to your apt keyring (Not
368- necessary if switching the realtime mode of a LinuxCNC Live-CD image)
369- +
370- ----
371- sudo apt-key adv --keyserver hkp://keys.openpgp.org --recv-key 3cb9fd148f374fef
372- Alternate keyserver: keyserver.ubuntu.com
373- ----
374-
375- . Add the apt repository:
376- +
377- ----
378- echo deb http://linuxcnc.org/ buster base 2.9-rt | sudo tee /etc/apt/sources.list.d/linuxcnc.list
379- echo deb-src http://linuxcnc.org/ buster base 2.9-rt | sudo tee -a /etc/apt/sources.list.d/linuxcnc.list
380- ----
353+ . You can add the LinuxCNC Archive signing key and repository information
354+ by downloading and running the installer script as decribed above. If
355+ an RTAI kernel is detected it will stop before installing any packages.
381356
382357. Update the package list from linuxcnc.org
383358+
@@ -389,101 +364,14 @@ sudo apt-get update
389364----
390365sudo apt-get install linuxcnc
391366----
392- Reboot the machine, ensuring that the system boots from the new 4.19.195-rtai kernel.
367+ Reboot the machine, ensuring that the system boots from the new 5.4.258-rtai
368+ kernel.
393369
394- === Installing on Raspbian 10
370+ === Installing on Raspbian 12
395371
396- . Download a stock Raspbian image to an SD card and install in the
397- https://www.raspberrypi.org/documentation/installation/installing-images/README.md[usual way]
398- . Boot the Pi and open a terminal
399- . Add the LinuxCNC Archive Signing Key to your apt keyring
400- +
401- ----
402- sudo apt-key adv --keyserver hkp://keys.openpgp.org --recv-key 3cb9fd148f374fef
403- Alternate keyserver: keyserver.ubuntu.com
404- ----
405- . Add the apt repository:
406- +
407- -----
408- echo deb http://linuxcnc.org/ buster base 2.8-rtpreempt | sudo tee /etc/apt/sources.list.d/linuxcnc.list
409- -----
410- . Update the package list from linuxcnc.org
411- +
412- ----
413- sudo apt-get update
414- ----
415- . install the realtime kernel
416- +
417- ----
418- sudo apt-get install linux-image-4.19.71-rt24-v7l+
419- ----
420- . Install linuxcnc (a reboot may be required prior to installing)
421- +
422- ----
423- sudo apt-get install linuxcnc-uspace
424- ----
425-
426-
427- === Installing on Ubuntu Precise
428-
429- . Install Ubuntu Precise 12.04 x86 (32-bit). Any flavor should
430- work (regular Ubuntu, Xubuntu, Lubuntu, etc). 64-bit (AMD64)
431- is currently not supported. You can download the installer here:
432- http://releases.ubuntu.com/precise/
433- Note the warnings that this release is out of support. But is is a way
434- to install LinuxCNC with a well-tested RTAI kernel.
435-
436- . Run the following to bring the machine up to date with the latest packages
437- in Ubuntu Precise.
438- +
439- ----
440- sudo apt-get update
441- sudo apt-get dist-upgrade
442- ----
443-
444- . Add the LinuxCNC Archive Signing Key to your apt keyring by running
445- +
446- ----
447- sudo apt-key adv --keyserver hkp://keys.openpgp.org --recv-key 3cb9fd148f374fef
448- Alternate keyserver: keyserver.ubuntu.com
449- ----
450-
451- . Add a new apt source
452- +
453- ----
454- sudo add-apt-repository "deb http://linuxcnc.org/ precise base 2.8-rt"
455- ----
456-
457- . Fetch the package list from linuxcnc.org.
458- +
459- ----
460- sudo apt-get update
461- ----
462-
463- . Install the RTAI kernel and modules by running
464- +
465- ----
466- sudo apt-get install linux-image-3.4-9-rtai-686-pae rtai-modules-3.4-9-rtai-686-pae
467- ----
468-
469- . If you want to be able to build LinuxCNC from source using the git repo,
470- also run
471- +
472- ----
473- sudo apt-get install linux-headers-3.4-9-rtai-686-pae
474- ----
475-
476- . Reboot, and make sure you boot into the rtai kernel. When you log in,
477- verify that the kernel name is 3.4-9-rtai-686-pae.
478- +
479- ----
480- uname -r
481- ----
482-
483- . Run
484- +
485- ----
486- sudo apt-get install linuxcnc
487- ----
372+ . Download a stock Raspbian image to an SD card and install using the
373+ [Raspberry Pi Imager App](https://www.raspberrypi.com/software/)
374+ . Boot the Pi and open a terminal. Download and run the linuxcnc installer
375+ script as described above.
488376
489377// vim: set syntax=asciidoc:
0 commit comments