How To Install regina-normal on Ubuntu 22.04
Introduction
In this tutorial we learn how to install regina-normal
on Ubuntu 22.04.
What is regina-normal
regina-normal is:
Regina is a software package for 3-manifold and 4-manifold topologists, with a focus on triangulations, knots and links, normal surfaces, and angle structures.
For 3-manifolds, it includes high-level tasks such as 3-sphere recognition, connected sum decomposition and Hakenness testing, comes with a rich database of census manifolds, and incorporates the SnapPea kernel for working with hyperbolic manifolds. For 4-manifolds, it offers a range of combinatorial and algebraic tools, plus support for normal hypersurfaces. For knots and links, Regina can perform combinatorial manipulation, compute knot polynomials, and work with several import/export formats.
Regina comes with a full graphical user interface, as well as Python bindings and a low-level C++ programming interface.
This package includes the graphical user interface and the command-line Python interface. The users’ handbook and the API documentation are in the separate package regina-normal-doc.
There are three methods to install regina-normal
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 regina-normal Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install regina-normal
using apt-get
by running the following command:
sudo apt-get -y install regina-normal
Install regina-normal Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install regina-normal
using apt
by running the following command:
sudo apt -y install regina-normal
Install regina-normal 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 regina-normal
using aptitude
by running the following command:
sudo aptitude -y install regina-normal
How To Uninstall regina-normal on Ubuntu 22.04
To uninstall only the regina-normal
package we can use the following command:
sudo apt-get remove regina-normal
Uninstall regina-normal And Its Dependencies
To uninstall regina-normal
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove regina-normal
Remove regina-normal Configurations and Data
To remove regina-normal
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge regina-normal
Remove regina-normal configuration, data, and all of its dependencies
We can use the following command to remove regina-normal
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge regina-normal
References
Summary
In this tutorial we learn how to install regina-normal
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.