I'm using CachyOS with KDE, and whenever I run `pacman -Syu` or update through the graphical software manager, I get a notification saying that a reboot is required. I thought Linux generally didn't need reboots after updates, so what does that claim actually mean? Do I really need to restart immediately, and which kinds of updates require it?
5 Answers
The notification is advice, not a forced restart. Most user-space programs can be updated while the system keeps running, but a new kernel will not be used until the next boot. You can continue working and reboot later when convenient; Linux won’t suddenly restart your computer to finish the update.
You can technically avoid a reboot with tools such as kernel live patching or by carefully restarting individual services, but that is mainly useful for systems where downtime matters. On a personal computer, rebooting after a kernel or major system update is usually safer and less effort than tracking down every process still using the old files.
CachyOS follows a fast-moving Arch-based update model, so kernel and system components may be updated fairly often. You can postpone the reboot, but remember that you’re still running the old kernel until you restart. It’s sensible to update and reboot before shutting down for the day, or whenever convenient, rather than treating the notification as an emergency.
A running program keeps using the files and libraries it already loaded, even if newer versions have been installed on disk. Restarting that program loads the update. The same idea applies to services, the desktop session, and the kernel; a full reboot is the simplest way to make sure everything is using the new versions.
Kernel updates are the main reason you see this message. Drivers and low-level components may also need a restart, especially graphics, VPN, or other kernel-related modules. Services usually only need to be restarted, while desktop applications may continue running the old code until you close and reopen them.

Windows can also be configured not to restart immediately, but Linux generally gives you more control over when the restart happens.