How To Install axiom-source on Ubuntu 22.04

In this tutorial we learn how to install axiom-source on Ubuntu 22.04. axiom-source is General purpose computer algebra system

Introduction

In this tutorial we learn how to install axiom-source on Ubuntu 22.04.

What is axiom-source

axiom-source is:

Axiom 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.

Axiom 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 Axiom Journal with refereed submissions.

This package contains source files in Axiom’s native spad language for the compiled algebra modules supplied in the axiom package.

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

sudo apt-get -y install axiom-source

Install axiom-source Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install axiom-source

Install axiom-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install axiom-source

How To Uninstall axiom-source on Ubuntu 22.04

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

sudo apt-get remove axiom-source

Uninstall axiom-source And Its Dependencies

To uninstall axiom-source and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove axiom-source

Remove axiom-source Configurations and Data

To remove axiom-source configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge axiom-source

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

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

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

References

Summary

In this tutorial we learn how to install axiom-source package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.