Install DTrace on Oracle Linux 9

  1. If running on an x86 platform, enable the ol9_UEKR7 yum repository for the system.

    sudo dnf config-manager --enable ol9_UEKR7

    Note:

    Oracle releases UEK and DTrace packages in the baseos repository for aarch64 platforms. You don't need to enable any other repositories to access the DTrace packages for aarch64 platforms.

  2. Install the dtrace and package.

    sudo dnf install -y dtrace