How To Install libchemps2-3 on Debian 10
Introduction
In this tutorial we learn how to install libchemps2-3
on Debian 10.
What is libchemps2-3
libchemps2-3 is:
chemps2 is a scientific library which contains a spin-adapted implementation of the density matrix renormalization group (DMRG) for ab initio quantum chemistry. This wavefunction method allows one to obtain numerical accuracy in active spaces beyond the capabilities of full configuration interaction (FCI), and allows one to extract the 2-, 3-, and 4-particle reduced density matrices (2-, 3- and 4-RDM) of the active space.
For general active spaces up to 40 electrons in 40 orbitals can be handled with DMRG, and for one-dimensional active spaces up to 100 electrons in 100 orbitals. The 2-RDM of these active spaces can also be easily extracted, while the 3- and 4-RDM are limited to about 28 orbitals.
When the active space size becomes prohibitively expensive for FCI, DMRG can be used to replace the FCI solver in the complete active space self consistent field (CASSCF) method and the corresponding complete active space second order perturbation theory (CASPT2). The corresponding methods are called DMRG-SCF and DMRG-CASPT2, respectively. For DMRG-SCF the active space 2-RDM is required, and for DMRG-CASPT2 the active space 4-RDM.
There are three methods to install libchemps2-3
on Debian 10. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libchemps2-3 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libchemps2-3
using apt-get
by running the following command:
sudo apt-get -y install libchemps2-3
Install libchemps2-3 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libchemps2-3
using apt
by running the following command:
sudo apt -y install libchemps2-3
Install libchemps2-3 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 libchemps2-3
using aptitude
by running the following command:
sudo aptitude -y install libchemps2-3
How To Uninstall libchemps2-3 on Debian 10
To uninstall only the libchemps2-3
package we can use the following command:
sudo apt-get remove libchemps2-3
Uninstall libchemps2-3 And Its Dependencies
To uninstall libchemps2-3
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libchemps2-3
Remove libchemps2-3 Configurations and Data
To remove libchemps2-3
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libchemps2-3
Remove libchemps2-3 configuration, data, and all of its dependencies
We can use the following command to remove libchemps2-3
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libchemps2-3
Dependencies
libchemps2-3 have the following dependencies:
References
Summary
In this tutorial we learn how to install libchemps2-3
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.