Tezos Installation Guide

Chas Smith
Coinmonks
Published in
3 min readJun 18, 2018

--

This is a step-by-step guide to compile and install Tezos on a fresh install of Ubuntu 18.04. I used Virtual Box to install Ubuntu on my Windows PC as described in this guide.

This guide will probably work with many versions of Linux, but I can only guarantee that it will work in the same environment I used. One thing I have learned is that the blockchain is pretty big so you need to allocate a lot of hard drive space to the machine.

Discover and review best Blockchain softwares

I am not an expert. I just want to share what worked for me. If you have a problem please comment and I will help if I can. If not, maybe someone else will comment with the solution.

It is recommended by the lead Tezos developer in this article that your system have at least 8GB of RAM for a node once the network is live. No other recommended specs are known at this time.

The Guide

Open up a terminal once you start Ubuntu, and enter the italicized commands.

I have refined some of the instructions so the screenshots do not always exactly match the commands. Use the italicized commands.

Step 1 — Update and Install Dependencies

sudo apt-get updatesudo apt-get upgradesudo apt-get install make m4 gcc aspcud curl bubblewrapsudo apt-get install ocaml opamsudo apt-get install -qq -yy libgmp-dev libhidapi-dev pkg-config

Step 2 — Install the latest OPAM compiler

wget https://raw.github.com/ocaml/opam/master/shell/opam_installer.sh -O — | sh -s /usr/local/binsh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)

Step 3 — Download and Unpack the latest Tezos software, then navigate to the folder.

wget https://gitlab.com/tezos/tezos/-/archive/betanet/tezos-betanet.tar.gztar -zxvf tezos-betanet.tar.gzcd tezos-betanet

Step 4 — Update OPAM and switch to the latest OPAM compiler

opam initopam updateopam switch create 4.06.1opam switch set 4.06.1eval $(opam config env)

Step 5 — Install Tezos

make build-depsmake

Step 6 — Set up and run your Tezos node

./tezos-node identity generate./tezos-node config init./tezos-node config update --rpc-addr=127.0.0.1:8732./tezos-node run

…and that is it! You have a running Tezos node. You can now open a new terminal to interact with your node.

You can use

./tezos-node config update --peer=IPADDR:PORT 

to add peers to bootstrap from. http://tzscan.io/network has a list of active peers to choose from.

Please see http://doc.tzalpha.net/index.html for more information.

--

--