How To Install fricas-source on Debian 12

Learn how to install fricas-source on Debian 12 with this tutorial. fricas-source is General purpose computer algebra system

Introduction

In this tutorial we learn how to install fricas-source on Debian 12.

What is fricas-source

fricas-source 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 source files in Fricas’s native spad language for the compiled algebra modules supplied in the fricas package.

There are three methods to install fricas-source on Debian 12. 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-source 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-source using apt-get by running the following command:

sudo apt-get -y install fricas-source

Install fricas-source Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install fricas-source using apt by running the following command:

sudo apt -y install fricas-source

Install fricas-source 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 fricas-source using aptitude by running the following command:

sudo aptitude -y install fricas-source

How To Uninstall fricas-source on Debian 12

To uninstall only the fricas-source package we can use the following command:

sudo apt-get remove fricas-source

Uninstall fricas-source And Its Dependencies

To uninstall fricas-source and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove fricas-source

Remove fricas-source Configurations and Data

To remove fricas-source configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge fricas-source

Remove fricas-source configuration, data, and all of its dependencies

We can use the following command to remove fricas-source configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge fricas-source

Dependencies

fricas-source have the following dependencies:

References

Summary

In this tutorial we learn how to install fricas-source package on Debian 12 using different package management tools: apt, apt-get and aptitude.