How To Install monotone-viz on Ubuntu 18.04

In this tutorial we learn how to install monotone-viz on Ubuntu 18.04. monotone-viz is visualize a monotone repository

Introduction

In this tutorial we learn how to install monotone-viz on Ubuntu 18.04.

What is monotone-viz

monotone-viz is:

Monotone-viz is a small GTK+ application that visualizes monotone ancestry graphs. Monotone is a free distributed version control system. Montone-viz is developed in the Objective Caml language, using the GTK+ and libgnomecanvas libraries (via LablGTK, an OCaml binding for GTK+), and it uses the dot program from the Graphviz package.

There are three methods to install monotone-viz 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 monotone-viz Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install monotone-viz

Install monotone-viz Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install monotone-viz

Install monotone-viz 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 monotone-viz using aptitude by running the following command:

sudo aptitude -y install monotone-viz

How To Uninstall monotone-viz on Ubuntu 18.04

To uninstall only the monotone-viz package we can use the following command:

sudo apt-get remove monotone-viz

Uninstall monotone-viz And Its Dependencies

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

sudo apt-get -y autoremove monotone-viz

Remove monotone-viz Configurations and Data

To remove monotone-viz configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge monotone-viz

Remove monotone-viz configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge monotone-viz

References

Summary

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