How To Install garlic-doc on Ubuntu 18.04

In this tutorial we learn how to install garlic-doc on Ubuntu 18.04. garlic-doc is [Chemistry] a molecular visualization program - documents

Introduction

In this tutorial we learn how to install garlic-doc on Ubuntu 18.04.

What is garlic-doc

garlic-doc is:

This is the documentation package for Garlic.

Garlic is probably the most portable molecular visualization program in the Unix world. It’s written for the investigation of membrane proteins. It may be used to visualize other proteins, as well as some geometric objects. The name should has something to do with the structure and operation of this program. This version of garlic recognizes PDB format version 2.1. Garlic may also be used to analyze protein sequences.

Features include (but not limited to): o The slab position and thickness are visible in a small window. o Atomic bonds as well as atoms are treated as independent drawable objects. o The atomic and bond colors depend on position. Five mapping modes are available (as for slab). o Capable to display stereo image. o Capable to display other geometric objects, like membrane. o Atomic information is available for atom covered by the mouse pointer. No click required, just move the mouse pointer over the structure! o Capable to load more than one structure. o Capable to draw Ramachandran plot, helical wheel, Venn diagram, averaged hydrophobicity and hydrophobic moment plot. o 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-doc on Ubuntu 18.04. 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-doc 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-doc using apt-get by running the following command:

sudo apt-get -y install garlic-doc

Install garlic-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install garlic-doc

Install garlic-doc 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install garlic-doc

How To Uninstall garlic-doc on Ubuntu 18.04

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

sudo apt-get remove garlic-doc

Uninstall garlic-doc And Its Dependencies

To uninstall garlic-doc and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove garlic-doc

Remove garlic-doc Configurations and Data

To remove garlic-doc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge garlic-doc

Remove garlic-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge garlic-doc

References

Summary

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