// Module included in the following assemblies:
//
// * cli_reference/developer_cli_odo/installing-odo.adoc

:_mod-docs-content-type: PROCEDURE
[id="installing-odo-on-linux_{context}"]

= Installing {odo-title} on Linux

The `{odo-title}` CLI is available to download as a binary and as a tarball for multiple operating systems and architectures including:

[cols="2,1,1",options="header"]
|===
|Operating System|Binary|Tarball
|Linux|link:https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/latest/odo-linux-amd64[odo-linux-amd64] |link:https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/latest/odo-linux-amd64.tar.gz[odo-linux-amd64.tar.gz]
|Linux on {ibm-power-name}|link:https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/latest/odo-linux-ppc64le[odo-linux-ppc64le] |link:https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/latest/odo-linux-ppc64le.tar.gz[odo-linux-ppc64le.tar.gz]
|Linux on {ibm-z-name} and {ibm-linuxone-name}|link:https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/latest/odo-linux-s390x[odo-linux-s390x] |link:https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/latest/odo-linux-s390x.tar.gz[odo-linux-s390x.tar.gz]
|===


.Procedure

. Navigate to the link:https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/latest/[content gateway] and download the appropriate file for your operating system and architecture.
+
** If you download the binary, rename it to `odo`:
+
[source,terminal]
----
$ curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/latest/odo-linux-amd64 -o odo
----
+
** If you download the tarball, extract the binary:
+
[source,terminal]
----
$ curl -L https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/odo/latest/odo-linux-amd64.tar.gz -o odo.tar.gz
----
+
[source,terminal]
----
$ tar xvzf odo.tar.gz
----

. Change the permissions on the binary:
+
[source,terminal]
----
$ chmod +x <filename>
----

. Place the `{odo-title}` binary in a directory that is on your `PATH`.
+
To check your `PATH`, execute the following command:
+
[source,terminal]
----
$ echo $PATH
----

. Verify that `{odo-title}` is now available on your system:
+
[source,terminal]
----
$ odo version
----
