A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.oracle.com/iaas/Content/API/SDKDocs/cliinstall.htm below:

Quickstart

What's In This Section Oracle Linux 9

If you're using Oracle Linux 9, you can use dnf to install the CLI.

Note

We strongly recommend running sudo dnf update regularly to ensure your system is up-to-date by installing available updated RPMs.

To use dnf to install the CLI:

sudo dnf -y install oraclelinux-developer-release-el9
sudo dnf install python39-oci-cli

The CLI will be installed to the Python site packages:

Documentation and examples will be installed in the /usr/share/doc/python39-oci-cli-<version>/ directory.

To uninstall the CLI:

sudo dnf remove python39-oci-cli
Oracle Linux 8

If you're using Oracle Linux 8, you can use dnf to install the CLI.

Tip

Oracle Linux 8 uses Python 3.6 by default. For improved performance, we recommend that you upgrade to Python version 3.9 or later and install a compatible version of the CLI. For detailed instructions, see the manual installation instructions.

Note

We strongly recommend running sudo dnf update regularly to ensure your system is up-to-date by installing available updated RPMs.

To use dnf to install the CLI:

sudo dnf -y install oraclelinux-developer-release-el8
sudo dnf install python36-oci-cli

The CLI will be installed to the Python site packages:

Documentation and examples will be installed in the /usr/share/doc/python36-oci-cli-<version>/ directory.

To uninstall the CLI:

sudo dnf remove python36-oci-cli
Oracle Linux 7

If you're using Oracle Linux 7, you can use yum to install the CLI.

Tip

Oracle Linux 7 uses Python 3.6 by default. For improved performance, we recommend that you upgrade to Python version 3.9 or later and install a compatible version of the CLI. For detailed instructions, see the manual installation instructions.

To use yum to install the CLI:

sudo yum install python36-oci-cli

The CLI will be installed to the Python site packages:

Documentation and examples will be installed in the /usr/share/doc/python36-oci-cli-<version>/ directory.

To uninstall the CLI:

sudo yum remove python36-oci-cli
Mac OS

You can use Homebrew to install, upgrade, and uninstall the CLI on Mac OS.

To install the CLI on Mac OS with Homebrew:

brew update && brew install oci-cli

To upgrade your CLI install on Mac OS using Homebrew:

brew update && brew upgrade oci-cli

To uninstall the CLI on Mac OS using Homebrew:

Windows

You can install the CLI on Windows by using the MSI installer or by using PowerShell.

To install the CLI on Windows using the MSI installer: Note

The MSI CLI installer will overwrite any existing versions of the CLI on your Windows system. If you need to install multiple versions of the CLI, for subsequent installs create a virtual environment and use the manual installation method. For more information, see Manual and Offline Installations.

  1. Download the OCI CLI MSI installer for Windows from GitHub.
  2. Run the downloaded installer executable.
  3. Select the local directory on your system where you want to install the CLI, and then select Next.
  4. When the installer is finished, select Finish.

To install the CLI on Windows using PowerShell:

  1. Open the PowerShell console using the Run as Administrator option.
  2. The installer enables auto-complete by installing and running a script. To allow this script to run, you must enable the RemoteSigned execution policy.

    To configure the remote execution policy for PowerShell, run the following command.

    Set-ExecutionPolicy RemoteSigned
  3. Force PowerShell to use TLS 1.2 for Windows 2012 and Windows 2016:
    [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 
  4. Download the installer script:
    Invoke-WebRequest https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.ps1 -OutFile install.ps1
  5. Run the installer script with or without prompts:
    1. To run the installer script with prompts, run the following command:
      iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.ps1'))

      Respond to the Installation Script Prompts.

    2. To run the installer script

      without

      prompting the user, accepting the default settings, run the following command:

      ./install.ps1 -AcceptAllDefaults  
Linux and UNIX Note

The installer script automatically installs the CLI and its dependencies, Python and virtualenv. Before running the installer, be sure you meet the requirements.

Note

Oracle Linux 8 and Oracle Linux Cloud Developer 7 have the CLI pre-installed.

  1. Open a terminal.
  2. To run the installer script, run the following command:
    bash -c "$(curl -L https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh)"
    Note

    To run a 'silent' install that accepts all default values with no prompts, use the --accept-all-defaults parameter.

  3. Respond to the Installation Script Prompts.
Other Environments

To install the CLI in an environment not listed here, see Manual and Offline Installations.

Verifying the OCI CLI Installation
  1. From a command prompt, run the following command:
    oci --version
Installation Script Prompts

The installation script prompts you for the following information.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4