-
Access the repository using the Homebrew Tap as follows:
$ brew tap kadel/odo
-
Install from the latest Master build or the latest released version:
-
For the latest Master build use:
$ brew install kadel/odo/odo --HEAD
-
For the latest released version use:
$ brew install kadel/odo/odo
-
# curl -L https://github.com/openshift/odo/releases/latest/download/odo-darwin-amd64 -o /usr/local/bin/odo && chmod +x /usr/local/bin/odo
-
Add the GPG key from the Bintray used to sign repositories:
$ curl -L https://bintray.com/user/downloadSubjectPublicKey?username=bintray | apt-key add -
-
Add the repository to
/etc/apt/sources.list
:-
For the latest Master builds use:
$ echo "deb https://dl.bintray.com/odo/odo-deb-dev stretch main" | sudo tee -a /etc/apt/sources.list
-
For the latest signed releases use:
$ echo "deb https://dl.bintray.com/odo/odo-deb-releases stretch main" | sudo tee -a /etc/apt/sources.list
-
-
Install
odo
:# apt-get update # apt-get install odo
# curl -L https://github.com/openshift/odo/releases/latest/download/odo-linux-amd64 -o /usr/local/bin/odo && chmod +x /usr/local/bin/odo
-
Access the
odo
repository:-
From the latest builds:
-
Download the
odo
repository to/etc/yum.repods.d/
using:# curl -L https://bintray.com/odo/odo-rpm-dev/rpm -o /etc/yum.repos.d/bintray-odo-odo-rpm-dev.repo
-
Verify the content of the file and ensure that you see the following:
# cat /etc/yum.repos.d/bintray-odo-odo-rpm-dev.repo [bintraybintray-odo-odo-rpm-dev] name=bintray-odo-odo-rpm-dev baseurl=https://dl.bintray.com/odo/odo-rpm-dev gpgcheck=0 repo_gpgcheck=0 enabled=1
-
-
From the latest release:
-
Download the
odo
repository to/etc/yum.repods.d/
using:# curl -L https://bintray.com/odo/odo-rpm-releases/rpm -o /etc/yum.repos.d/bintray-odo-odo-rpm-releases.repo
-
Verify the content of the file and ensure that you see the following:
# cat /etc/yum.repos.d/bintray-odo-odo-rpm-releases.repo [bintraybintray-odo-odo-rpm-releases] name=bintray-odo-odo-rpm-releases baseurl=https://dl.bintray.com/odo/odo-rpm-releases gpgcheck=0 repo_gpgcheck=0 enabled=1
-
-
-
Install
odo
:-
For CentOS or RHEL use:
$ yum install odo
-
For Fedora use:
$ dnf install odo
-
# curl -L https://github.com/openshift/odo/releases/latest/download/odo-linux-amd64 -o /usr/local/bin/odo && chmod +x /usr/local/bin/odo
The following example demonstrates how to set up a path variable. Your binaries can be located in any location but for the purpose of this example we will use C:\go-bin
as the location.
-
Create a folder at
C:\go-bin
. -
Right click on Start and click on Control Panel.
-
Select System and Security and then click on System.
-
From the menu on the left, select the Advanced systems settings and click the Environment Variables button at the bottom.
-
Select Path from the Variable section and click Edit.
-
Click New and type
C:\go-bin
into the field or click Browse and select the directory, and click OK.