How To Install gauche-gl on Ubuntu 18.04

In this tutorial we learn how to install gauche-gl on Ubuntu 18.04. gauche-gl is Gauche bindings for OpenGL

Introduction

In this tutorial we learn how to install gauche-gl on Ubuntu 18.04.

What is gauche-gl

gauche-gl is:

Gauche-gl is an extension module of Gauche Scheme implementation. It provides gl, gl.glut, and gl.math3d modules.

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

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

sudo apt-get update

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

sudo apt-get -y install gauche-gl

Install gauche-gl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gauche-gl

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

sudo aptitude -y install gauche-gl

How To Uninstall gauche-gl on Ubuntu 18.04

To uninstall only the gauche-gl package we can use the following command:

sudo apt-get remove gauche-gl

Uninstall gauche-gl And Its Dependencies

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

sudo apt-get -y autoremove gauche-gl

Remove gauche-gl Configurations and Data

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

sudo apt-get -y purge gauche-gl

Remove gauche-gl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gauche-gl

References

Summary

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