1 Installing the CLI

Install the Oracle Cloud Native Environment CLI on an Oracle Linux host, using the Oracle Linux Yum Server, or the Unbreakable Linux Network (ULN).

The Oracle Cloud Native Environment CLI (CLI) is the command line tool to create and manage Kubernetes clusters in Oracle Cloud Native Environment. The CLI (ocne command) includes a help system to show all command options, and a set of configuration files at various levels to configure the environment and clusters.

  1. Set up the Oracle Linux Yum Server Repository.

    If the system uses the Oracle Linux Yum Server, set it up to install the CLI:

    Oracle Linux 9:

    sudo dnf install oracle-ocne-release-el9
    sudo dnf config-manager --enable ol9_ocne

    Oracle Linux 8:

    sudo dnf install oracle-ocne-release-el8
    sudo dnf config-manager --enable ol8_ocne
  2. Set up ULN.

    If the system is registered to use ULN, use the ULN web interface to subscribe the system to the appropriate channel.

    For Oracle Linux 9, subscribe to ol9_x86_64_ocne or ol9_aarch64_ocne.

    For Oracle Linux 8, subscribe to ol8_x86_64_ocne or ol8_aarch64_ocne.

  3. Install the CLI.
    sudo dnf install ocne