How To Install chemtool on Kali Linux

In this tutorial we learn how to install chemtool on Kali Linux. chemtool is chemical structures drawing program

Introduction

In this tutorial we learn how to install chemtool on Kali Linux.

What is chemtool

chemtool is:

Chemtool is a GTK+ based 2D chemical structure editor for X11. It supports many bond styles, most forms of text needed for chemical typesetting and splines/arcs/curved arrows.

Drawings can be exported to MOL and PDB format, SVG or XFig format for further annotation, as a PiCTeX drawing, as a bitmap or as Postscript files (several of these through XFig’s companion program fig2dev).

The package also contains a helper program, cht, to calculate sum formula and (exact) molecular weight from a chemtool drawing file. Cht can either be called directly by Chemtool or on the console.

There are three methods to install chemtool on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install chemtool Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install chemtool

Install chemtool Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install chemtool

Install chemtool Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install chemtool

How To Uninstall chemtool on Kali Linux

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

sudo apt-get remove chemtool

Uninstall chemtool And Its Dependencies

To uninstall chemtool and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove chemtool

Remove chemtool Configurations and Data

To remove chemtool configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge chemtool

Remove chemtool configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge chemtool

Dependencies

chemtool have the following dependencies:

References

Summary

In this tutorial we learn how to install chemtool package on Kali Linux using different package management tools: apt, apt-get and aptitude.