4 Installing Software on Oracle Linux
Regardless of whether you use ULN or an Oracle Linux yum server, software packages are installed on a system by using standard dnf commands and depend on the system having the appropriate ULN channel subscriptions or yum repositories enabled.
Use the dnf install command to install a package and any of its dependencies:
sudo dnf install package_name
Note:
dnf
makes no distinction between installing and upgrading a kernel package.
Both dnf install
and dnf upgrade
always download the
latest kernel available for the system's OS.
The system notifies you of any extra packages that might be installed and prompts you to confirm whether to go ahead with the installation:
Last metadata expiration check: 0:03:03 ago on Mon 11 Sep 2023 11:48:58 AM GMT.
Dependencies resolved.
=======================================================================================================
Package Architecture Version Repository Size
=======================================================================================================
Installing:
dnf-automatic noarch 4.14.0-5.0.1.el9_2 ol9_baseos_latest 53 k
Transaction Summary
=======================================================================================================
Install 1 Package
Total download size: 53 k
Installed size: 52 k
Is this ok [y/N]:
You can bypass the confirmation check in a dnf install command by using the -y
option.
For a list of dnf
commands that are commonly used to manage DNF packages and
repositories, see DNF Command References.