First,we open a new terminal.
sudo apt-get update
sudo apt-get upgrade
Download the Linux kernel and Xenomai
We have downloaded Linux-5.7 kernel and Xenomai-3.1.Xenomai 2.x will not be update in the future.Once they are downloaded, unzip the .tar.xz files in Linux.
xz -d linux-5.7.tar.xz.part
tar -xvf linux-5.7.tar
Tips in Linux:
How to use xz:compressingxz -z filename
decompressingxz -d filename
How to use tar:compressingtar -cvf filename
decompressingtar -xvf filename
Now we have the latest kernel but we are not sure whether it is compatible with Xenomai 3.1 or not.
After decompressing the file,