Install DTrace on Oracle Linux 7

WARNING:

Oracle Linux 7 is now in Extended Support. See Oracle Linux Extended Support and Oracle Open Source Support Policies for more information.

Migrate applications and data to Oracle Linux 8, Oracle Linux 9, or Oracle Linux 10, as soon as possible.

  1. Enable the ol7_UEKR6 yum repository.

    For example, if you have yum-utils installed, run:

    sudo yum-config-manager --enable ol7_UEKR6
  2. Install DTrace.

    Install the dtrace and libdtrace-ctf packages:

    sudo yum install -y dtrace libdtrace-ctf