How To Install cohomcalg on Kali Linux
Introduction
In this tutorial we learn how to install cohomcalg on Kali Linux.
What is cohomcalg
cohomcalg is:
The algorithm for the computation of sheaf cohomologies for line bundles on toric varieties presented in “Cohomology of Line Bundles: A Computational Algorithm” by Ralph Blumenhagen, Benjamin Jurke, Thorsten Rahn, and Helmut Roschy has been implemented in a convenient and high-performance C/C++ application called cohomCalg.
The optional cohomCalg Koszul extension serves as a Mathematica 7 frontend and allows for the easy computation of hypersurface and complete intersection cohomologies, following the material presented in “Cohomology of Line Bundles: Applications” by the same authors.
There are three methods to install cohomcalg on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install cohomcalg Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install cohomcalg using apt-get by running the following command:
sudo apt-get -y install cohomcalgInstall cohomcalg Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install cohomcalg using apt by running the following command:
sudo apt -y install cohomcalgInstall cohomcalg Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install cohomcalg using aptitude by running the following command:
sudo aptitude -y install cohomcalgHow To Uninstall cohomcalg on Kali Linux
To uninstall only the cohomcalg package we can use the following command:
sudo apt-get remove cohomcalgUninstall cohomcalg And Its Dependencies
To uninstall cohomcalg and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove cohomcalgRemove cohomcalg Configurations and Data
To remove cohomcalg configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge cohomcalgRemove cohomcalg configuration, data, and all of its dependencies
We can use the following command to remove cohomcalg configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge cohomcalgDependencies
cohomcalg have the following dependencies:
References
Summary
In this tutorial we learn how to install cohomcalg package on Kali Linux using different package management tools: apt, apt-get and aptitude.