gertty command not found

In this troubleshooting guide we learn how to fix gertty command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gertty: command not found

or when using sudo you get the following error message

sudo: gertty: command not found

Solutions to gertty: command not found

How To Fix gertty: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gertty is provided by gertty package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install gertty

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install gertty.

sudo apt -y install gertty

Or if you have aptitude installed you can use the following command.

sudo aptitude install gertty

Summary

In this tutorial we learn how to fix gertty command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.