Install OpenShift client 3.11.

OpenShift client 3.11 can be downloaded from GitHub – OpenShift Origin release 3.11 web page.

Download openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz client.

$ wget https://github.com/openshift/origin/releases/download/v3.11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz
--2020-04-14 10:42:38--  https://github.com/openshift/origin/releases/download/v3.11.0/openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz
Resolving github.com (github.com)... 140.82.118.3
Connecting to github.com (github.com)|140.82.118.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/22442668/bc49e200-cd4b-11e8-867b-80841e1e238f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200414%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200414T104226Z&X-Amz-Expires=300&X-Amz-Signature=6fdf76afe176a53cc3ae0b1cf29eb50816400237353859c571452d8a88cc556e&X-Amz-SignedHeaders=host&actor_id=0&repo_id=22442668&response-content-disposition=attachment%3B%20filename%3Dopenshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz&response-content-type=application%2Foctet-stream [following]
--2020-04-14 10:42:38--  https://github-production-release-asset-2e65be.s3.amazonaws.com/22442668/bc49e200-cd4b-11e8-867b-80841e1e238f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200414%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200414T104226Z&X-Amz-Expires=300&X-Amz-Signature=6fdf76afe176a53cc3ae0b1cf29eb50816400237353859c571452d8a88cc556e&X-Amz-SignedHeaders=host&actor_id=0&repo_id=22442668&response-content-disposition=attachment%3B%20filename%3Dopenshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.144.139
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.144.139|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 56507103 (54M) [application/octet-stream]
Saving to: ‘openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz’
openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz     100%[======================================================================================================================================================================>]  53.89M  7.43MB/s    in 8.1s
2020-04-14 10:42:46 (6.69 MB/s) - ‘openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz’ saved [56507103/56507103]

Download CHECKSUM file.

$ wget https://github.com/openshift/origin/releases/download/v3.11.0/CHECKSUM
--2020-04-14 12:44:45--  https://github.com/openshift/origin/releases/download/v3.11.0/CHECKSUM
Resolving github.com (github.com)... 140.82.118.4
Connecting to github.com (github.com)|140.82.118.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/22442668/3c704780-cd4c-11e8-9c62-111845065109?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200414%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200414T124445Z&X-Amz-Expires=300&X-Amz-Signature=a0aaa555aa50079a6615e39b9f5c2b30765dbf67bca2aa616406ab91ec1f6bde&X-Amz-SignedHeaders=host&actor_id=0&repo_id=22442668&response-content-disposition=attachment%3B%20filename%3DCHECKSUM&response-content-type=application%2Foctet-stream [following]
--2020-04-14 12:44:45--  https://github-production-release-asset-2e65be.s3.amazonaws.com/22442668/3c704780-cd4c-11e8-9c62-111845065109?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200414%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200414T124445Z&X-Amz-Expires=300&X-Amz-Signature=a0aaa555aa50079a6615e39b9f5c2b30765dbf67bca2aa616406ab91ec1f6bde&X-Amz-SignedHeaders=host&actor_id=0&repo_id=22442668&response-content-disposition=attachment%3B%20filename%3DCHECKSUM&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.217.15.92
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.217.15.92|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 575 [application/octet-stream]
Saving to: ‘CHECKSUM’
CHECKSUM                                                             100%[======================================================================================================================================================================>]     575  --.-KB/s    in 0s
2020-04-14 12:44:46 (11.6 MB/s) - ‘CHECKSUM’ saved [575/575]

Inspect CHECKSUM file.

$ cat CHECKSUM
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855  CHECKSUM
4b0f07428ba854174c58d2e38287e5402964c9a9355f6c359d1242efd0990da3  openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz
9bfcd70df56d902b2cd39dea06e73f4c5451ef9e2ad0e8d6d5b27a92af8503fc  openshift-origin-server-v3.11.0-0cbc58b-linux-64bit.tar.gz
75d58500aec1a2cee9473dfa826c81199669dbc0f49806e31a13626b5e4cfcf0  openshift-origin-client-tools-v3.11.0-0cbc58b-mac.zip
cdb84cc0000d0f0983120f903b2cad7114527ce2a9c4eb1988986eda7b877bfa  openshift-origin-client-tools-v3.11.0-0cbc58b-windows.zip

Verify checksum for openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz archive.

$ sha256sum  --ignore-missing --check CHECKSUM
CHECKSUM: FAILED
openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz: OK
sha256sum: WARNING: 1 computed checksum did NOT match
SHA256 message digest for CHECKSUM does not match, it is a known issue. The proper one is de4f3c4761cade3cc6b472d64978ac9cd0993a4652b59fd98f61f20f610b3deb.

Inspect openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz archive.

$ tar tvfz openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.selinux'
-rwxrwxr-x root/root 120350344 2018-10-10 16:48 openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit/oc
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.selinux'
-rwxrwxr-x root/root 120350344 2018-10-10 16:48 openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit/kubectl
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.selinux'
-rw-rwxr-- root/root     15834 2018-10-10 16:48 openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit/README.md
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.selinux'
-rw-rwxr-- root/root     10759 2018-10-10 16:48 openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit/LICENSE
You can safely ignore Ignoring unknown extended header keyword ... warnings.

Extract oc utility to the location available system-wide.

$ sudo tar xvfz openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz --strip-components 1 --directory /usr/local/bin openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit/oc
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.selinux'
openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit/oc
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.selinux'
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.selinux'
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.selinux'

Extract kubectl utility to the location available system-wide.

$ sudo tar xvfz openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit.tar.gz --strip-components 1 --directory /usr/local/bin openshift-origin-client-tools-v3.11.0-0cbc58b-linux-64bit/kubectl
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.selinux'
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.selinux'
openshift-origin-client-tools-v5.11.0-0cbc58b-linux-64bit/kubectl
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.selinux'
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.security.selinux'

Perform the simplest possible operation using oc utility to verify that everything is OK.

$ oc login https://openshift-development.example.org:8443 --token=jNGt14b9Ku7xkoUwjx9KXqDOQ2WJqve9z5Ei1BEN3Pq
Logged into "https://openshift-development.example.com:8443" as "admin" using the token provided.
You have access to the following projects and can switch between them with 'oc project <projectname>':
  * default
    development-milosz
    kube-public
    kube-service-catalog
    kube-system
    management-infra
    openshift
    openshift-ansible-service-broker
    openshift-console
    openshift-descheduler
    openshift-infra
    openshift-logging
    openshift-metrics-server
    openshift-monitoring
    openshift-node
    openshift-sdn
    openshift-template-service-broker
    openshift-web-console
Using project "default".
Welcome! See 'oc help' to get started.
$ oc whoami
admin

Done.