DApps with Reach programming language

Installation on Ubuntu Linux

Follow these steps to install on Linux.

Installation on Ubuntu Linux

We will first install make and Docker which are required by Reach.

To install make, execute the following command in your terminal:

$ sudo apt install make curl

 

Execute the next command to confugure apt to use repositories containing HTTPS.

$ sudo apt install ca-certificates gnupg lsb-release

Download Docker via this command:

$ sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

Now update Docker configuration:

$ sudo echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

Let us now update our package index and install Docker Engine:

$ sudo apt-get update
$ sudo apt-get install docker-ce docker-ce-cli containerd.io

Create a new directory and move to the newly created directory via this command:

$ mkdir -p ~/reach && cd ~/reach

Now it is finally time to download Reach and start programming.

$ curl https://docs.reach.sh/reach -o reach ; chmod +x reach
$ ./reach version