Skip to content

Commit 4867997

Browse files
committed
Docs: 2.9 release updates
1 parent 790005e commit 4867997

4 files changed

Lines changed: 38 additions & 149 deletions

File tree

docs/src/getting-started/getting-linuxcnc.adoc

Lines changed: 29 additions & 141 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ are two versions of LinuxCNC which work with these kernels. See the table
1717
below for details.
1818

1919
Fresh 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
2222
will be given a choice of booting the "Live" system (to run LinuxCNC
2323
without making any permanent changes to your computer) or booting the
2424
Installer (to install LinuxCNC and its operating system onto your
@@ -242,7 +242,9 @@ during the boot up.
242242
The easiest, preferred way to install LinuxCNC is to use the Live/Install
243243
Image as described above. That method is as simple and reliable as we
244244
can 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

247249
In addition, for experienced users who are familiar with Debian system
248250
administration (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
301304
sudo 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
----
390365
sudo 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:
-92.8 KB
Binary file not shown.
223 KB
Loading

docs/src/getting-started/updating-linuxcnc.adoc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Codename: Buster
5454
----
5555

5656
You should be running on Debian Buster, Bullseye or Bookworm or Ubuntu
57-
20.04 "Focal Fossa" or newer. LinuxCNC will not run on older distributions
57+
20.04 "Focal Fossa" or newer. LinuxCNC 2.9.x will not run on older distributions
5858
than these.
5959

6060
You will also need to check which realtime kernel is being used:
@@ -69,9 +69,8 @@ preempt-rt kernel and should install the "uspace" version of LinuxCNC.
6969
You should also install uspace for "sim" configs on non-realtime kernels
7070

7171
If you see `-rtai-` in the kernel name then you are running RTAI
72-
realtime. See below for the LinuxCNC version to install.
73-
At this moment there are (tmporariliy) no RTAI packages for LinuxCNC
74-
2.9.0 but it is possible to build from source.
72+
realtime. See below for the LinuxCNC version to install. RTAI packages
73+
are available for Bookworm and Buster but not currently for Bullseye.
7574

7675
[[_setting_apt_sources]]
7776
=== Apt Sources Configuration
@@ -104,11 +103,13 @@ At this moment there are (tmporariliy) no RTAI packages for LinuxCNC
104103
[options="header"]
105104
|===
106105
| Debian Buster - preempt | `deb https://linuxcnc.org buster base 2.9-rtpreempt`
106+
| Debian Buster - RTAI | `deb https://linuxcnc.org buster base 2.9-rt`
107107
| Debian Bullseye - preempt | `deb https://linuxcnc.org bullseye base 2.9-uspace`
108108
| Debian Bookworm - preempt | `deb https://linuxcnc.org bookworm base 2.9-uspace`
109+
| Debian Bookworm - RTAI | `deb https://linuxcnc.org bookworm base 2.9-rt`
109110
|===
110111

111-
image::images/upgrading-to-2.8.png["Setting apt sources",align="center"]
112+
image::images/upgrading-to-2.9.png["Setting apt sources",align="center"]
112113

113114
* Click `Add Source`, then `Close` in the Software Sources window.
114115
If it pops up a window informing you that the information about
@@ -160,7 +161,7 @@ to find the release name of your OS.
160161
----
161162
> lsb_release -ic
162163
Distributor ID: Debian
163-
Codename: buster
164+
Codename: bullseye
164165
----
165166

166167
Pick the OS from the list then pick the major version you want like
@@ -173,11 +174,11 @@ Next pick the version you want from the bottom of the list like
173174
'linuxcnc-uspace_2.8.0_amd64.deb' (choose the latest by date).
174175
Download the deb and copy it to your home directory. You can rename the
175176
file to something a bit shorter with the file manager like
176-
'linuxcnc_2.8.0.deb' then open a terminal and install it with the
177+
'linuxcnc_2.9.1.deb' then open a terminal and install it with the
177178
package manager with this command:
178179

179180
----
180-
sudo dpkg -i linuxcnc_2.9.0.deb
181+
sudo dpkg -i linuxcnc_2.9.1.deb
181182
----
182183

183184

0 commit comments

Comments
 (0)