Do I need to restart Ubuntu? You must reboot your Linux box when your install a new kernel or update critical libraries such as libc. Both Debian and Ubuntu Linux can tell you if the system needs a reboot when you login to your box as root user.
What is var run reboot required? The /run/reboot-required mechanism is used when a reboot is needed to fully apply the changes introduced by package installation or upgrade. Typically it is the postinst maintainer script that touches /run/reboot-required , at the end of a successful configuration of the package.
How do I restart Ubuntu? Restart Ubuntu Linux immediately
By default, if you just use shutdown -r, it will reboot your system after one minute.
How often should you restart Ubuntu? You need to restart it if you replace hardware. Software updates can be incorporated while the machine is running. Otherwise there is no need to restart the machine. I generally end up restarting my Linux computers every 4–5 years if I had to put a number on it.