How To Install travis on Ubuntu 22.04
Introduction
In this tutorial we learn how to install travis
on Ubuntu 22.04.
What is travis
travis is:
TRAVIS (Trajectory Analyzer and Visualizer) is a free tool for analyzing and visualizing trajectories from all kinds of Molecular Dynamics or Monte Carlo simulations. The aim of TRAVIS is to collect as many analyses as possible in one program, creating a powerful tool and making it unnecessary to use many different programs for evaluating simulations. This should greatly rationalize and simplify the workflow of analyzing trajectories. The following analysis functions are available:
Static (time independent) Functions:
- Radial, Angular, Dihedreal or Combined Distribution Function
- Point-Plane or Point-Line Distance Distribution
- Plane Projection Distribution
- Fixed Plane Density Profile
- Density, Spatial or Dipole Distribution Function
Dynamic (time dependent) Functions:
- Velocity Distribution Function
- Mean Square Displacement / Diffusion Coefficients
- Velocity Autocorrelation Functions
- Vector Reorientation Dynamics
- Van Hove Correlation Function
- Aggregation Functions (DACF, DLDF, DDisp)
Spectroscopic Functions:
- Calculate Power Spectrum
- Calculate IR Spectrum
- Calculate Raman Spectrum
TRAVIS can read trajectory files in XYZ, PDB, LAMMPS or DLPOLY format.
There are three methods to install travis
on Ubuntu 22.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 travis Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install travis
using apt-get
by running the following command:
sudo apt-get -y install travis
Install travis Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install travis
using apt
by running the following command:
sudo apt -y install travis
Install travis 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 travis
using aptitude
by running the following command:
sudo aptitude -y install travis
How To Uninstall travis on Ubuntu 22.04
To uninstall only the travis
package we can use the following command:
sudo apt-get remove travis
Uninstall travis And Its Dependencies
To uninstall travis
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove travis
Remove travis Configurations and Data
To remove travis
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge travis
Remove travis configuration, data, and all of its dependencies
We can use the following command to remove travis
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge travis
References
Summary
In this tutorial we learn how to install travis
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.