gmi command not found

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

Introduction

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

gmi: command not found

or when using sudo you get the following error message

sudo: gmi: command not found

Solutions to gmi: command not found

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

In Ubuntu gmi is provided by lieer package.

lieer is:

This program can pull email and labels (and changes to labels) from your GMail account and store them locally in a maildir with the labels synchronized with a notmuch database. The changes to tags in the notmuch database may be pushed back remotely to your GMail account.

It will not and can not:

  • Add or delete messages on your remote account
  • Modify messages other than their labels

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

sudo apt-get -y install lieer

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

You can also use apt command to install lieer.

sudo apt -y install lieer

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

sudo aptitude install lieer

Summary

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