How To Install rasmol on Debian 12
Introduction
In this tutorial we learn how to install rasmol
on Debian 12.
What is rasmol
rasmol is:
RasMol is a molecular graphics program intended for the visualisation of proteins, nucleic acids and small molecules. The program is aimed at display, teaching and generation of publication quality images.
The program reads in a molecule coordinate file and interactively displays the molecule on the screen in a variety of colour schemes and molecule representations. Currently available representations include depth-cued wireframes, ‘Dreiding’ sticks, spacefilling (CPK) spheres, ball and stick, solid and strand biomolecular ribbons, atom labels and dot surfaces.
Supported input file formats include Protein Data Bank (PDB), Tripos Associates’ Alchemy and Sybyl Mol2 formats, Molecular Design Limited’s (MDL) Mol file format, Minnesota Supercomputer Center’s (MSC) XYZ (XMol) format, CHARMm format, CIF format and mmCIF format files.
This package installs two versions of RasMol, rasmol-gtk has a modern GTK-based user interface and rasmol-classic is the version with the old Xlib GUI.
There are three methods to install rasmol
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install rasmol Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install rasmol
using apt-get
by running the following command:
sudo apt-get -y install rasmol
Install rasmol Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install rasmol
using apt
by running the following command:
sudo apt -y install rasmol
Install rasmol 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 rasmol
using aptitude
by running the following command:
sudo aptitude -y install rasmol
How To Uninstall rasmol on Debian 12
To uninstall only the rasmol
package we can use the following command:
sudo apt-get remove rasmol
Uninstall rasmol And Its Dependencies
To uninstall rasmol
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove rasmol
Remove rasmol Configurations and Data
To remove rasmol
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge rasmol
Remove rasmol configuration, data, and all of its dependencies
We can use the following command to remove rasmol
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge rasmol
Dependencies
rasmol have the following dependencies:
- libc6
- libcairo2
- libcbf1
- libcneartree7
- libcqrlib2
- libcvector2
- libgdk-pixbuf-2.0-0
- libglib2.0-0
- libgtk-3-0
- libpango-1.0-0
- libvte-2.91-0
- libx11-6
- libxext6
References
Summary
In this tutorial we learn how to install rasmol
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.