How To Install garlic on Debian 10

Learn how to install garlic on Debian 10 with this tutorial. garlic is visualization program for biomolecules

Introduction

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

What is garlic

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.

There are three methods to install garlic 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 garlic Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install garlic

Install garlic Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install garlic

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

sudo aptitude -y install garlic

How To Uninstall garlic on Debian 10

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

sudo apt-get remove garlic

Uninstall garlic And Its Dependencies

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

sudo apt-get -y autoremove garlic

Remove garlic Configurations and Data

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

sudo apt-get -y purge garlic

Remove garlic configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge garlic

Dependencies

garlic have the following dependencies:

References

Summary

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