Like any other operating system, we need to keep our system updated to avoid any bug or to improve hardware on Linux. If you using the official repository from the distro, you’re most likely won’t have a problem with software or hardware. Linux using a package manager to update software apt
for Debian and it’s derivative, dnf
for Fedora and it’s derivative.
Update Debian/Ubuntu
To update Debian, Linux Mint, Ubuntu to the latest version
sudo apt update sudo apt upgrade -y
Update Fedora/CentOS
To update Fedora to latest version
sudo dnf update -y
Updating Linux for common people is enough once a week.