Introduction
In this tutorial we learn how to install ch5m3d
on Ubuntu 20.04.
What is ch5m3d
ch5m3d is:
This program provides a web interface which has been developed to
allow users to create and visualize 3-dimensional drawings of simple
molecules without requiring the download of any additional
software. In addition to creating structures, users can also load
existing XYZ formatted files (such as those generated by Open Babel)
containing 3-dimensional coordinates.
Once molecules are created or read from a file, users can examine
geometry information (bond lengths, angles, and dihedral angles) and
modify these structures. Routines to perform a crude geometry
optimization and a simple calculation of atomic charges are also
available.
This web interface relies on HTML5 (in particular, the HTML5 Canvas),
and as such requires a modern web browser to run. The advantage of
this approach is the no additional plugins or Java is required to use
this program. Support for mobile devices is currently only partially
implemented, but is planned to be included in future versions.
There are three methods to install ch5m3d
on Ubuntu 20.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 ch5m3d Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ch5m3d
using apt-get
by running the following command:
sudo apt-get -y install ch5m3d
Install ch5m3d Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ch5m3d
using apt
by running the following command:
sudo apt -y install ch5m3d
Install ch5m3d 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 ch5m3d
using aptitude
by running the following command:
sudo aptitude -y install ch5m3d
How To Uninstall ch5m3d on Ubuntu 20.04
To uninstall only the ch5m3d
package we can use the following command:
sudo apt-get remove ch5m3d
Uninstall ch5m3d And Its Dependencies
To uninstall ch5m3d
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove ch5m3d
Remove ch5m3d Configurations and Data
To remove ch5m3d
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge ch5m3d
Remove ch5m3d configuration, data, and all of its dependencies
We can use the following command to remove ch5m3d
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ch5m3d
References
Summary
In this tutorial we learn how to install ch5m3d
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.