Linux is known for security because distributions keep libraries and packages updated all the time. It’s a good idea to run updates once a week (I do it daily) to see if there are any packages that need updating.
(Note: Fedora has moved away from yum to dnf as the default package manager, so we will use ‘dnf’ in all commands).
sudo dnf check-update will list all available updates
Now you can install these updates by running
sudo dnf upgrade.
Unlike Windows, you don’t have to restart your Linux system after upgrades!