How To Install surf-alggeo-nox on Ubuntu 18.04

In this tutorial we learn how to install surf-alggeo-nox on Ubuntu 18.04. surf-alggeo-nox is visualization of real algebraic geometry – no X support

Introduction

In this tutorial we learn how to install surf-alggeo-nox on Ubuntu 18.04.

What is surf-alggeo-nox

surf-alggeo-nox is:

Surf is a script driven tool to visualize some real algebraic geometry: plane algebraic curves, algebraic surfaces and hyperplane sections of surfaces.

The algorithms should be stable enough not to be confused by curve/surface singularities in codimension greater than one and the degree of the surface or curve. This has been achieved quite a bit. Curves of degree up to 30 and surfaces of degree up to 20 have been drawn successfully. However, there are examples of curves/surfaces of lower degree where surf fails to produce perfect images. This happens especially if the equation of the curve/surface is not reduced. Best results are achieved using reduced equations. On the other hand, surf displays the Fermat-curves accurately for degree up to 98.

Surf is free software distributed under the GNU General Public License (GPL).

This package provides the script driven tool surf without X support.

There are three methods to install surf-alggeo-nox 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 surf-alggeo-nox Using apt-get

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

sudo apt-get update

After updating apt database, We can install surf-alggeo-nox using apt-get by running the following command:

sudo apt-get -y install surf-alggeo-nox

Install surf-alggeo-nox Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install surf-alggeo-nox using apt by running the following command:

sudo apt -y install surf-alggeo-nox

Install surf-alggeo-nox 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 surf-alggeo-nox using aptitude by running the following command:

sudo aptitude -y install surf-alggeo-nox

How To Uninstall surf-alggeo-nox on Ubuntu 18.04

To uninstall only the surf-alggeo-nox package we can use the following command:

sudo apt-get remove surf-alggeo-nox

Uninstall surf-alggeo-nox And Its Dependencies

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

sudo apt-get -y autoremove surf-alggeo-nox

Remove surf-alggeo-nox Configurations and Data

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

sudo apt-get -y purge surf-alggeo-nox

Remove surf-alggeo-nox configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge surf-alggeo-nox

References

Summary

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