How To Install algol68g on Ubuntu 22.04

Hostnbit
In this tutorial we learn how to install algol68g on Ubuntu 22.04. algol68g is Implementation of Algol 68 as defined by the Revised Report

Introduction

In this tutorial we learn how to install algol68g on Ubuntu 22.04.

What is algol68g

algol68g is:

Algol 68 is a secure, expression-oriented programming language with which
you elegantly code algorithms without having to bother too much about
irrelevant technical details and limitations inherent to many other
languages.

Algol 68 Genie offers for example:
» many runtime checks facilitating debugging and improving the
» reliability of your programs, native support for arbitrary precision
» arithmetic including complex numbers, syntactic constructions to
» support linear algebra, a gdb-style debugger and a pretty-printer to
» beautify source code, optional linkage to GNU plotutils, the GNU
» scientific library or PostgreSQL, extensions as UNIX pipes, regular
» expression matching, and web page content fetching.

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

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

sudo apt-get update

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

sudo apt-get -y install algol68g

Install algol68g Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install algol68g using apt by running the following command:

sudo apt -y install algol68g

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

sudo aptitude -y install algol68g

How To Uninstall algol68g on Ubuntu 22.04

To uninstall only the algol68g package we can use the following command:

sudo apt-get remove algol68g

Uninstall algol68g And Its Dependencies

To uninstall algol68g and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove algol68g

Remove algol68g Configurations and Data

To remove algol68g configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge algol68g

Remove algol68g configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge algol68g

References

Summary

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

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Menu Title
Scroll to Top