How To Install xcrysden on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 422 words
Introduction
In this tutorial we learn how to install xcrysden
on Ubuntu.
What is xcrysden
xcrysden is:
XCrySDen is a crystalline and molecular structure visualisation program, which aims at display of isosurfaces and contours, which can be superimposed on crystalline structures and interactively rotated and manipulated. It can run on most UNIX platforms, without any special hardware requirements.
XCrySDen allows for real-time capture of display. Several movie encoders are supported, in particular for Animated-GIF convert (imagemagick), gifsicle, or whirlgif are necessary. For AVI/MPEG mencoder or ppmtompeg (netpbm) is required. For window dumps either imagemagick or xwd (x11-apps) needs to be present.
There are three methods to install xcrysden
on Ubuntu. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install xcrysden Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install xcrysden
using apt-get
by running the following command:
sudo apt-get -y install xcrysden
Install xcrysden Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install xcrysden
using apt
by running the following command:
sudo apt -y install xcrysden
Install xcrysden 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 xcrysden
using aptitude
by running the following command:
sudo aptitude -y install xcrysden
How To Uninstall xcrysden on Ubuntu
To uninstall only the xcrysden
package we can use the following command:
sudo apt-get remove xcrysden
Uninstall xcrysden And Its Dependencies
To uninstall xcrysden
and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove xcrysden
Remove xcrysden Configurations and Data
To remove xcrysden
configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge xcrysden
Remove xcrysden configuration, data, and all of its dependencies
We can use the following command to remove xcrysden
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge xcrysden
Dependencies
xcrysden have the following dependencies:
- bwidget
- gawk
- imagemagick
- openbabel
- xcrysden-data
- libc6
- libfftw3-double3
- libgfortran5
- libgl1
- libgl2ps1.4
- libglu1-mesa
- libtcl8.6
- libtk8.6
- libtogl2
- libx11-6
References
Summary
In this tutorial we learn how to install xcrysden
package on Ubuntu using different package management tools: apt, apt-get and aptitude.