How To Install singular-data on Ubuntu 18.04

In this tutorial we learn how to install singular-data on Ubuntu 18.04. singular-data is Computer Algebra System for Polynomial Computations – shared data

Introduction

In this tutorial we learn how to install singular-data on Ubuntu 18.04.

What is singular-data

singular-data is:

SINGULAR is a Computer Algebra System (CAS) for polynomial computations with emphasis on the special needs of commutative algebra, algebraic geometry, and singularity theory.

This package contains architecture independent material.

There are three methods to install singular-data 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 singular-data Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install singular-data using apt-get by running the following command:

sudo apt-get -y install singular-data

Install singular-data Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install singular-data

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

sudo aptitude -y install singular-data

How To Uninstall singular-data on Ubuntu 18.04

To uninstall only the singular-data package we can use the following command:

sudo apt-get remove singular-data

Uninstall singular-data And Its Dependencies

To uninstall singular-data and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove singular-data

Remove singular-data Configurations and Data

To remove singular-data configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge singular-data

Remove singular-data configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge singular-data

References

Summary

In this tutorial we learn how to install singular-data package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.