How To Install merkleeyes on Ubuntu 18.04

In this tutorial we learn how to install merkleeyes on Ubuntu 18.04. merkleeyes is ABCI application serving a merkle-tree data store

Introduction

In this tutorial we learn how to install merkleeyes on Ubuntu 18.04.

What is merkleeyes

merkleeyes is:

Simple ABCI application serving a merkle-tree key-value store. Merkleeyes allows inserts and removes by key, and queries by key or index. Inserts and removes happen through the DeliverTx message, while queries happen through the Query message. CheckTx simply mirrors DeliverTx.

ABCI is Tendermint’s Serverside Blockchain API, whilst Tendermint Core is Byzantine Fault Tolerant (BFT) middleware that takes a state transition machine, written in any programming language, and replicates it on manymachines.

There are three methods to install merkleeyes on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install merkleeyes Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install merkleeyes using apt-get by running the following command:

sudo apt-get -y install merkleeyes

Install merkleeyes Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install merkleeyes using apt by running the following command:

sudo apt -y install merkleeyes

Install merkleeyes Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install merkleeyes using aptitude by running the following command:

sudo aptitude -y install merkleeyes

How To Uninstall merkleeyes on Ubuntu 18.04

To uninstall only the merkleeyes package we can use the following command:

sudo apt-get remove merkleeyes

Uninstall merkleeyes And Its Dependencies

To uninstall merkleeyes and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove merkleeyes

Remove merkleeyes Configurations and Data

To remove merkleeyes configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge merkleeyes

Remove merkleeyes configuration, data, and all of its dependencies

We can use the following command to remove merkleeyes configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge merkleeyes

References

Summary

In this tutorial we learn how to install merkleeyes package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.