Install Openshift OC Tool in Ubuntu 16.04
What is OC Tool?
OC tool stands for OpenShift Origin Client Tools
- Operating System : Ubuntu 16.04 LTS (64-bit)
Install OC tool in Ubuntu 16.04
The step by step installation guideline is shown below.
Download oc Client Tools
Download oc Client Tools for Linux from: https://www.openshift.org/download.html
Extract the downloaded
Extract the downloaded file and you will get
oc binary file to a directory in your local machine path
oc file should be moved to any directory in the
To check the
path information of the local machine, open terminal and write:
Now keep the
oc file in any of these listed directory.
Apply Executable Permissions to the Binary
After keeping the
oc file in any directory of the path you need to give execution permission to
Open terminal in the same path and do:
chmod +x SELECTED_PATH
Test the Installation
After successful installation of
oc you can login to the console like below:
$ oc login Server: Username: Password: Login successful. Welcome! See 'oc help' to get started.
- OC download URL: https://www.openshift.org/download.html
- Getting started with CLI: https://docs.openshift.org/latest/cli_reference/get_started_cli.html