Installing LinuxCNC Debian Sid

System > Adminstration > Synaptic Package Manager Search for linux-image and make sure that the following is installed

linux-headers-5.18.0-3-rt-amd64
linux-image-5.18.0-3-rt-amd64

When booting up select Advanced options for Debian GNU/Linux and pick the rt kernel.

After booting up open a terminal (Ctrl Alt t) and make sure you have the rt kernel.

john@cave:~$ uname -a
Linux cave 5.18.0-3-rt-amd64 #1 SMP PREEMPT_RT Debian 5.18.14-1 (2022-07-23) x86_64 GNU/Linux

Now you can remove the non-rt kernel by opening the Synaptic Package Manager and search for linux-image

Open a terminal with Ctrl Alt t

sudo apt update
sudo apt dist-upgrade
sudo apt install linuxcnc-uspace
sudo apt install linuxcnc-uspace-dev

If you have a Mesa 7i96S don’t install Mesaflash from the Debian repository, it’s not new enough to know about the 7i96S.

To install the latest Mesaflash download it from github

sudo apt install git
sudo apt install libpci-dev libmd-dev pkg-config build-essential git
git clone https://github.com/LinuxCNC/mesaflash.git

Open a terminal in the mesaflash directory and do

sudo make install
mesaflash --version