How To Install surf-alggeo-doc on Ubuntu 18.04

In this tutorial we learn how to install surf-alggeo-doc on Ubuntu 18.04. surf-alggeo-doc is visualization of real algebraic geometry – manual

Introduction

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

What is surf-alggeo-doc

surf-alggeo-doc 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 manual for the script driven tool surf; it also contains some script samples.

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

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

Install surf-alggeo-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install surf-alggeo-doc

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

sudo aptitude -y install surf-alggeo-doc

How To Uninstall surf-alggeo-doc on Ubuntu 18.04

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

sudo apt-get remove surf-alggeo-doc

Uninstall surf-alggeo-doc And Its Dependencies

To uninstall surf-alggeo-doc 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-doc

Remove surf-alggeo-doc Configurations and Data

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

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

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

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

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

References

Summary

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