Fedora 44 packages for LinuxCNC (with PREEMPT_RT kernel)

  • NTULINUX
  • NTULINUX's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
06 Jun 2026 21:04 - 06 Sep 2026 22:01 #346942 by NTULINUX
copr.fedorainfracloud.org/coprs/ntulinux/linuxcnc

As simple as:

sudo dnf install dnf-plugins-core
sudo dnf copr enable ntulinux/linuxcnc
sudo dnf install kernel-rt-lto linuxcnc

Optional:
sudo dnf install flexgui halviewer

Tips and tricks:

Enable verbose boot, enable timeout/GRUB menu, disable SELinux to avoid relabeling when switching kernels:

Modify `/etc/default/grub` with elevated privileges and replace `rhgb quiet` with `selinux=0`

Make sure GRUB_CMDLINE_LINUX is not commented out.

Set GRUB_TIMEOUT=5 to give the user 5 seconds to select a kernel.

The final file should look something like:
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="selinux=0"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true

You will also need to disable GRUB's hide menu feature:
sudo grub2-editenv - unset menu_auto_hide

Generate a new grub.cfg file:
sudo grub2-mkconfig -o /boot/grub2/grub.cfg

Speed up the boot process and keep NetworkManager from hanging:
sudo systemctl disable --now NetworkManager-wait-online.service

If you're using a desktop environment that can modify the CPU governor, it is highly recommended to set the power profile to performance. For example, in KDE, go to System -> System Settings -> Power Management. Change Balanced or Power Save to Performance.

Please let me know if you have any questions or comments!

Cheers!
Last edit: 06 Sep 2026 22:01 by NTULINUX. Reason: added more info
The following user(s) said Thank You: grandixximo, tommylight, Diegot, NWE

Please Log in or Create an account to join the conversation.

Time to create page: 0.092 seconds
Powered by Kunena Forum