How To Install inform6-compiler on Ubuntu 22.04

Hostnbit
In this tutorial we learn how to install inform6-compiler on Ubuntu 22.04. inform6-compiler is Inform 6 interactive fiction language — compiler

Introduction

In this tutorial we learn how to install inform6-compiler on Ubuntu 22.04.

What is inform6-compiler

inform6-compiler is:

Inform 6 is an object-oriented language for writing interactive
fiction, also known as “text adventures” or “adventure games”.

As an interactive fiction developer, you create Inform 6 source code
defining the story. Then compile from source code to a “story file”.
The resulting story files are highly portable, with interpreters
available for many different platforms.

The Inform 6 compiler can produce a story file in these formats:

  • Z-code, executed by implementations of the Infocom Z-machine.
  • Glulx, a modern platform for interactive fiction.

This package installs:

  • The Inform 6 compiler program, ‘inform6’.

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

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

sudo apt-get update

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

sudo apt-get -y install inform6-compiler

Install inform6-compiler Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install inform6-compiler

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

sudo aptitude -y install inform6-compiler

How To Uninstall inform6-compiler on Ubuntu 22.04

To uninstall only the inform6-compiler package we can use the following command:

sudo apt-get remove inform6-compiler

Uninstall inform6-compiler And Its Dependencies

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

sudo apt-get -y autoremove inform6-compiler

Remove inform6-compiler Configurations and Data

To remove inform6-compiler configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge inform6-compiler

Remove inform6-compiler configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge inform6-compiler

References

Summary

In this tutorial we learn how to install inform6-compiler 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