How To Install fricas on Ubuntu 22.04
Introduction
In this tutorial we learn how to install fricas on Ubuntu 22.04.
What is fricas
fricas is:
Fricas is useful for research and development of mathematical algorithms. It defines a strongly typed, mathematically correct type hierarchy. It has a programming language and a built-in compiler.
Fricas has been in development since 1973 and was sold as a commercial product. It has been released as free software.
Efforts are underway to extend this software to (a) develop a better user interface (b) make it useful as a teaching tool (c) develop an algebra server protocol (d) integrate additional mathematics (e) rebuild the algebra in a literate programming style (f) integrate logic programming (g) develop an Fricas Journal with refereed submissions.
This package contains the main program binary and all precompiled algebra and autoloadable modules.
There are three methods to install fricas 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 fricas Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install fricas using apt-get by running the following command:
sudo apt-get -y install fricas
Install fricas Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install fricas using apt by running the following command:
sudo apt -y install fricas
Install fricas 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 fricas using aptitude by running the following command:
sudo aptitude -y install fricas
How To Uninstall fricas on Ubuntu 22.04
To uninstall only the fricas package we can use the following command:
sudo apt-get remove fricas
Uninstall fricas And Its Dependencies
To uninstall fricas and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove fricas
Remove fricas Configurations and Data
To remove fricas configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge fricas
Remove fricas configuration, data, and all of its dependencies
We can use the following command to remove fricas configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge fricas
References
Summary
In this tutorial we learn how to install fricas package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.