How To Install gertty on Debian 10

Learn how to install gertty on Debian 10 with this tutorial. gertty is Console-based interface to Gerrit

Introduction

In this tutorial we learn how to install gertty on Debian 10.

What is gertty

gertty is:

Gertty is a console-based interface to the Gerrit Code Review system. As compared to the web interface, the main advantages are:

Workflow – the interface is designed to support a workflow similar to reading network news or mail. In particular, it is designed to deal with a large number of review requests across a large number of projects.

Offline Use – Gertty syncs information about changes in subscribed projects to a local database and local git repos. All review operations are performed against that database and then synced back to Gerrit.

Speed – user actions modify locally cached content and need not wait for server interaction.

Convenience – because Gertty downloads all changes to local git repos, a single command instructs it to checkout a change into that repo for detailed examination or testing of larger changes.

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

Install gertty Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gertty

Install gertty Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gertty

Install gertty 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install gertty

How To Uninstall gertty on Debian 10

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

sudo apt-get remove gertty

Uninstall gertty And Its Dependencies

To uninstall gertty and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove gertty

Remove gertty Configurations and Data

To remove gertty configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge gertty

Remove gertty configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gertty

Dependencies

gertty have the following dependencies:

References

Summary

In this tutorial we learn how to install gertty package on Debian 10 using different package management tools: apt, apt-get and aptitude.