Lubuntu 18.04 RT Kernel¶
Download Lubuntu 18.04
Boot from the DVD
Select Install Lubuntu
Updates and Other Software
Check the following
- Minimal Installation
- Download Updates
- Install third-party software
After the install: Blue Menu Button > Power Manager turn off locking in the Security tab
To build the Rt Preempt kernel open a terminal and do the following
sudo apt install make gcc pkg-config build-essential libqt4-dev libssl-dev
sudo apt install bin86 kernel-package libncurses5-dev flex bison libelf-dev
sudo apt install at-spi2-core
sudo apt update
sudo apt dist-upgrade
mkdir rtlinux-5.0.14
cd rtlinux-5.0.14
wget https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/linux-5.0.14.tar.xz
wget https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/5.0/patch-5.0.14-rt9.patch.gz
tar -xpf linux-5.0.14.tar.xz
gunzip patch-5.0.14-rt9.patch.gz
cp patch-5.0.14-rt9.patch linux-5.0.14
cd linux-5.0.14
cat patch-5.0.14-rt9.patch | patch -p1
make xconfig
When xconfig window opens select the General setup then in the right top window select fully premptable kernel save and close
make
sudo make modules_install
sudo make install
Reboot and in a terminal do:
uname -a
It should return Linux Lubuntu18 5.0.3-rt1 #1 SMP PREEMPT RT …
Leafpad has issues and should not be used over a LAN. Remove it and install Geany.
sudo apt update
sudo apt install geany
sudo apt remove leafpad