dmrg command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dmrg: command not found
or when using sudo you get the following error message
sudo: dmrg: command not found
Solutions to dmrg: command not found
How To Fix dmrg: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dmrg is provided by dmrgpp package.
dmrgpp is:
DMRGPP / DMRG++ is an implementation of the Density matrix renormalization group algorithm which attempts to find the lowest-energy matrix product state wavefunction corresponding to the total energy of the system. DMRGPP embeds the PsimagLite utility to obtain codes for the simulation of strongly correlated electrons.
This package contains the dmrg executable and helpers, built using OpenBLAS.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dmrgpp
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dmrgpp.
sudo apt -y install dmrgpp
Or if you have aptitude installed you can use the following command.
sudo aptitude install dmrgpp
Summary
In this tutorial we learn how to fix dmrg command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.