1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules/developer-cli-odo-installing-odo-on-linux.adoc
Yana Hontyk 1231f9160c Restructuing odo docs.
Co-Authored-By: Kathryn Alexander <37149781+kalexand-rh@users.noreply.github.com>
2020-11-05 08:24:01 +00:00

44 lines
811 B
Plaintext

// Module included in the following assemblies:
//
// * cli_reference/developer_cli_odo/installing-odo.adoc
[id="installing-odo-on-linux_{context}"]
= 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
----