apt update sudo apt install -y build-essential bin86 libncurses5-dev pkg-config libssl-dev dwarves bison flex gnupg libelf-dev libssl-dev wget qtbase5-dev debhelper rsync git mkdir rtlinux cd rtlinux git clone -b v6.3-rc5 --depth 1 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux-6.3-rc5 wget https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/6.3/patch-6.3-rc5-rt8.patch.gz gunzip patch-6.3-rc5-rt8.patch.gz cp patch-6.3-rc5-rt8.patch linux-6.3-rc5 cd linux-6.3-rc5 cat patch-6.3-rc5-rt8.patch | patch -p1 make xconfig #Set the following: General Settings/Preemption model = Fully Preemptible Kernel #Save then exit (Click on General settings and select option on the right side. # These keys override security and key settings to allow .debs to be built 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 -j$(nproc) deb-pkg LOCALVERSION=-linuxcnc