1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/developer-cli-odo-installing-odo-on-linux.adoc
2020-08-10 20:18:09 +00:00

44 lines
801 B
Plaintext

// Module included in the following assemblies:
//
// * cli_reference/developer_cli_odo/installing-odo.adoc
[id="installing-odo-on-linux"]
= Installing {odo-title} on Linux
== Binary installation
.Procedure
. Obtain the binary:
+
[source,terminal]
----
# curl -L https://mirror.openshift.com/pub/openshift-v4/clients/odo/latest/odo-linux-amd64 -o /usr/local/bin/odo
----
. Change the permissions on the file:
+
[source,terminal]
----
# chmod +x /usr/local/bin/odo
----
== Tarball installation
.Procedure
. Obtain the tarball:
+
[source,terminal]
----
# sh -c 'curl -L https://mirror.openshift.com/pub/openshift-v4/clients/odo/latest/odo-linux-amd64.tar.gz | gzip -d > /usr/local/bin/odo'
----
. Change the permissions on the file:
+
[source,terminal]
----
# chmod +x /usr/local/bin/odo
----