5 Updating Software on Oracle Linux
Software updates are achieved using standard dnf commands on the system and depend on the system having the appropriate yum repositories enabled. 
               
You can use the dnf install and dnf update
      commands to handle general package installation or updates. 
               
To update a system to use the latest packages that are available, run:
sudo dnf upgradeNote:
The dnf update command automatically runs dnf
        upgrade.
                  
Update the system often to ensure that packages have the latest security patches and bug fixes. Consider using automatic updates so that software is correctly maintained on the system.
Note than if you use the dnf install command for software that's
      already installed, the software packages that you specify are also updated to the latest
      available version.
               
After performing a system update where many packages are updated, we recommend that you reboot the system. System functionality might become unstable if core packages are updated and the system isn't restarted to load the most recent updates. You can check whether a system requires a restart by running:
dnf needs-restarting -r