Install Consul on Ubuntu 14.04

adamkdean

Adam K Dean

Posted on April 5, 2015

Install Consul on Ubuntu 14.04

To install Consul on Ubuntu 14.04, first make sure you have unzip available:

$ apt-get install -y unzip
Enter fullscreen mode Exit fullscreen mode

Now, grab the Consul archive, make sure to get the latest & the right architecture, at the time of writing it is 0.5.0, and for Ubuntu it's linux_amd64:

$ wget https://dl.bintray.com/mitchellh/consul/0.5.0_linux_amd64.zip
Enter fullscreen mode Exit fullscreen mode

Now unzip it.

$ unzip 0.5.0_linux_amd.zip
Enter fullscreen mode Exit fullscreen mode

Now move consul to somewhere in your PATH:

$ mv consul /usr/bin/local/consul
Enter fullscreen mode Exit fullscreen mode

Finally, check it works:

$ consul --version

Consul v0.5.0
Consul Protocol: 2 (Understands back to: 1)
Enter fullscreen mode Exit fullscreen mode

Good job!

💖 💪 🙅 🚩
adamkdean
Adam K Dean

Posted on April 5, 2015

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related