List of various installation methods:
Latest binaries are available on Bintray.
Latest releases are available on Github.
In order to access the repo:
brew tap kadel/odo
The latest MASTER build:
brew install kadel/odo/odo --HEAD
Latest released version:
brew install kadel/odo/odo
Ubuntu / Debian
Add the GPG key from 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 latest Master builds
echo "deb https://dl.bintray.com/odo/odo-deb-dev stretch main" | sudo tee -a /etc/apt/sources.list
# For latest signed releases
echo "deb https://dl.bintray.com/odo/odo-deb-releases stretch main" | sudo tee -a /etc/apt/sources.list
Now install Odo:
sudo apt-get update
sudo apt-get install odo
Fedora / CentOS / RHEL
For latest builds:
$ vim /etc/yum.repos.d/bintray-odo-odo-rpm-dev.repo
# /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
Or you can download it using following command:
sudo curl -L https://bintray.com/odo/odo-rpm-dev/rpm -o /etc/yum.repos.d/bintray-odo-odo-rpm-dev.repo
For the latest release:
$ vim /etc/yum.repos.d/bintray-odo-odo-rpm-releases.repo
# /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
Or you can download it using following command:
sudo curl -L https://bintray.com/odo/odo-rpm-releases/rpm -o /etc/yum.repos.d/bintray-odo-odo-rpm-releases.repo
# CentOS / RHEL
yum install odo
# Fedora
dnf install odo
- Download the latest file from Bintray (odo.exe) or from the latest release page on GitHub.
- Extract the file
- Add the location of extracted binary to your GOPATH/bin directory (see below if you have yet to create a Go binary directory)
Your binaries can be located wherever you like,
but we'll use C:\go-bin
in this example.
- Create folder at
C:\go-bin
. - Right click on "Start" and click on "Control Panel". Select "System and Security", then click on "System".
- From the menu on the left, select the "Advanced systems settings".
- Click the "Environment Variables" button at the bottom.
- Select "Path" from the "Variable" section & Click "Edit"
- Click "New"
- Type
C:\go-bin
into the field or Click "Browse" and select the directory. - Click OK.
There is a faster way to edit Environment Variables
with search
- Left click on "Search" and type
env
orenvironment
. selectEdit environment variables for your account
- and follow step above