How To Install axiom on Ubuntu 18.04
Introduction
In this tutorial we learn how to install axiom on Ubuntu 18.04.
What is axiom
axiom 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 the main program binary and all precompiled algebra and autoloadable modules.
There are three methods to install axiom on Ubuntu 18.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 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 using apt-get by running the following command:
sudo apt-get -y install axiom
Install axiom Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install axiom using apt by running the following command:
sudo apt -y install axiom
Install axiom 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 using aptitude by running the following command:
sudo aptitude -y install axiom
How To Uninstall axiom on Ubuntu 18.04
To uninstall only the axiom package we can use the following command:
sudo apt-get remove axiom
Uninstall axiom And Its Dependencies
To uninstall axiom and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove axiom
Remove axiom Configurations and Data
To remove axiom configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge axiom
Remove axiom configuration, data, and all of its dependencies
We can use the following command to remove axiom configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge axiom
References
Summary
In this tutorial we learn how to install axiom package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.