How To Install gfan on Kali Linux
Introduction
In this tutorial we learn how to install gfan on Kali Linux.
What is gfan
gfan is:
Gfan is a software package for computing Groebner fans and tropical varieties. These are polyhedral fans associated to polynomial ideals. The maximal cones of a Groebner fan are in bijection with the marked reduced Groebner bases of its defining ideal. The software computes all marked reduced Groebner bases of an ideal. Their union is a universal Groebner basis. The tropical variety of a polynomial ideal is a certain subcomplex of the Groebner fan. Gfan contains algorithms for computing this complex for general ideals and specialized algorithms for tropical curves, tropical hypersurfaces and tropical varieties of prime ideals. In addition to the above core functions the package contains many tools which are useful in the study of Groebner bases, initial ideals and tropical geometry. Among these are an interactive traversal program for Groebner fans and programs for graphical renderings.
For ordinary Groebner basis computations Gfan is not competitive in speed compared to programs such as CoCoA, Singular and Macaulay2.
There are three methods to install gfan 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 gfan Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install gfan using apt-get by running the following command:
sudo apt-get -y install gfanInstall gfan Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install gfan using apt by running the following command:
sudo apt -y install gfanInstall gfan 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 gfan using aptitude by running the following command:
sudo aptitude -y install gfanHow To Uninstall gfan on Kali Linux
To uninstall only the gfan package we can use the following command:
sudo apt-get remove gfanUninstall gfan And Its Dependencies
To uninstall gfan and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove gfanRemove gfan Configurations and Data
To remove gfan configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge gfanRemove gfan configuration, data, and all of its dependencies
We can use the following command to remove gfan configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gfanDependencies
gfan have the following dependencies:
References
Summary
In this tutorial we learn how to install gfan package on Kali Linux using different package management tools: apt, apt-get and aptitude.