How To Install monotone-extras on Ubuntu 18.04

In this tutorial we learn how to install monotone-extras on Ubuntu 18.04. monotone-extras is Distributed version (revision) control system - extras

Introduction

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

What is monotone-extras

monotone-extras is:

Monotone is a free, distributed version control system. It provides fully disconnected operation, manages complete tree versions, keeps its state in a local transactional database, supports overlapping branches and extensible metadata, uses an efficient peer-to-peer network protocol, performs history-sensitive merging, and delegates trust functions to client-side RSA certificates.

This package contains scripts, monotone hooks and more:

  • mtn-cleanup (please install perl to use this)
  • monotone-mail-notify.lua + monotone-mail-notify (please install mime-construct and source-highlight to use this)
  • get_passphrase_from_file.lua
  • authorize_remote_automate.lua

There are three methods to install monotone-extras 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-extras 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-extras using apt-get by running the following command:

sudo apt-get -y install monotone-extras

Install monotone-extras Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install monotone-extras

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

sudo aptitude -y install monotone-extras

How To Uninstall monotone-extras on Ubuntu 18.04

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

sudo apt-get remove monotone-extras

Uninstall monotone-extras And Its Dependencies

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

sudo apt-get -y autoremove monotone-extras

Remove monotone-extras Configurations and Data

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

sudo apt-get -y purge monotone-extras

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

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

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

References

Summary

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