How To Install density-fitness on Ubuntu 22.04
Introduction
In this tutorial we learn how to install density-fitness
on Ubuntu 22.04.
What is density-fitness
density-fitness is:
The program density-fitness calculates electron density metrics, for main- (includes Cβ atom) and side-chain atoms of individual residues.
For this calculation, the program uses the structure model in either PDB or mmCIF format and the electron density from the 2mFo-DFc and mFo-DFc maps. If these maps are not readily available, the MTZ file and model can be used to calculate maps clipper. Density-fitness support both X-ray and electron diffraction data.
This program is essentially a reimplementation of edstats, a program available from the CCP4 suite. However, the output now contains only the RSR, SRSR and RSCC fields as in edstats with the addition of EDIAm and OPIA and no longer requires pre-calculated map coefficients.
There are three methods to install density-fitness
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 density-fitness Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install density-fitness
using apt-get
by running the following command:
sudo apt-get -y install density-fitness
Install density-fitness Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install density-fitness
using apt
by running the following command:
sudo apt -y install density-fitness
Install density-fitness 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 density-fitness
using aptitude
by running the following command:
sudo aptitude -y install density-fitness
How To Uninstall density-fitness on Ubuntu 22.04
To uninstall only the density-fitness
package we can use the following command:
sudo apt-get remove density-fitness
Uninstall density-fitness And Its Dependencies
To uninstall density-fitness
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove density-fitness
Remove density-fitness Configurations and Data
To remove density-fitness
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge density-fitness
Remove density-fitness configuration, data, and all of its dependencies
We can use the following command to remove density-fitness
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge density-fitness
References
Summary
In this tutorial we learn how to install density-fitness
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.