DEV Community

Cover image for Install Consul on Ubuntu 14.04
Adam K Dean
Adam K Dean

Posted on

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!

Top comments (0)