sudo apt update sudo apt install build-essential bin86 libncurses5-dev pkg-config libssl-dev sudo apt install dwarves bison flex gnupg libelf-dev libssl-dev wget qt5-devel wget https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.1.tar.xz unxz -c linux-6.1.tar.xz | gpg --verify linux-6.1.tar.sign - tar xvf linux-6.1.tar.xz wget https://www.kernel.org/pub/linux/kernel/projects/rt/6.1/patch-6.1-rc7-rt5.patch wget https://www.kernel.org/pub/linux/kernel/projects/rt/6.1/patch-6.1-rc7-rt5.patch.sign unxz -c linux-6.1.tar.xz | gpg --verify linux-6.1.tar.sign - gunzip patch-6.1-rc7-rt5.patch.gz cp patch-6.1-rc7-rt5.patch linux-6.1 cat patch-6.1-rc7-rt5.patch | patch -p1 make xconfig scripts/config --disable SYSTEM_REVOCATION_KEYS scripts/config --disable DEBUG_INFO scripts/config --enable DEBUG_INFO_NONE scripts/config --set-str SYSTEM_TRUSTED_KEYS "" make -j4 deb-pkg LOCALVERSION=-linuxcnc cd .. sudo dpkg -i linux-image-6.1.0-rt5-linuxcnc-rt_6.1.0-rt5-linuxcnc-rt-4_amd64.deb sudo dpkg -i linux-headers-6.1.0-rt5-linuxcnc-rt_6.1.0-rt5-linuxcnc-rt-4_amd64.deb