garlic command not found

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

Introduction

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

garlic: command not found

or when using sudo you get the following error message

sudo: garlic: command not found

Solutions to garlic: command not found

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

In Ubuntu garlic is provided by garlic package.

garlic is:

Garlic is written for the investigation of membrane proteins. It may be used to visualize other proteins, as well as some geometric objects. This version of garlic recognizes PDB format version 2.1. Garlic may also be used to analyze protein sequences.

It only depends on the X libraries, no other libraries are needed.

Features include:

  • The slab position and thickness are visible in a small window.
  • Atomic bonds as well as atoms are treated as independent drawable objects.
  • The atomic and bond colors depend on position. Five mapping modes are available (as for slab).
  • Capable to display stereo image.
  • Capable to display other geometric objects, like membrane.
  • Atomic information is available for atom covered by the mouse pointer. No click required, just move the mouse pointer over the structure!
  • Capable to load more than one structure.
  • Capable to draw Ramachandran plot, helical wheel, Venn diagram, averaged hydrophobicity and hydrophobic moment plot.
  • The command prompt is available at the bottom of the main window. It is able to display one error message and one command string.

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

sudo apt-get -y install garlic

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

You can also use apt command to install garlic.

sudo apt -y install garlic

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

sudo aptitude install garlic

Summary

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