How To Install xmakemol on Ubuntu 18.04

In this tutorial we learn how to install xmakemol on Ubuntu 18.04. xmakemol is program for visualizing atomic and molecular systems

Introduction

In this tutorial we learn how to install xmakemol on Ubuntu 18.04.

What is xmakemol

xmakemol is:

XMakemol is a mouse-based program, written using the LessTif widget set, for viewing and manipulating atomic and other chemical systems. It reads XYZ input and renders atoms, bonds and hydrogen bonds.

Features include:

  • Animating multiple frame files
  • Interactive measurement of bond lengths, bond angles and torsion angles
  • Control over atom/bond sizes
  • Exporting to Xpm, Encapsulated PostScript and XYZ formats
  • Toggling the visibility of groups of atoms
  • Editing the positions of subsets of atoms

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

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

sudo apt-get update

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

sudo apt-get -y install xmakemol

Install xmakemol Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install xmakemol

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

sudo aptitude -y install xmakemol

How To Uninstall xmakemol on Ubuntu 18.04

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

sudo apt-get remove xmakemol

Uninstall xmakemol And Its Dependencies

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

sudo apt-get -y autoremove xmakemol

Remove xmakemol Configurations and Data

To remove xmakemol configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge xmakemol

Remove xmakemol configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xmakemol

References

Summary

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