How To Install sludge-compiler on Ubuntu 18.04

In this tutorial we learn how to install sludge-compiler on Ubuntu 18.04. sludge-compiler is Compiler for SLUDGE adventure games

Introduction

In this tutorial we learn how to install sludge-compiler on Ubuntu 18.04.

What is sludge-compiler

sludge-compiler is:

SLUDGE is an open source adventure game engine. It combines a scripting language with IDE tools.

This package contains the command line SLUDGE compiler and is mainly intended as build dependency for SLUDGE game packages. Developers can use the Project Manager included in the Dev Kit for compiling games.

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

sudo apt-get -y install sludge-compiler

Install sludge-compiler Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install sludge-compiler

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

sudo aptitude -y install sludge-compiler

How To Uninstall sludge-compiler on Ubuntu 18.04

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

sudo apt-get remove sludge-compiler

Uninstall sludge-compiler And Its Dependencies

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

sudo apt-get -y autoremove sludge-compiler

Remove sludge-compiler Configurations and Data

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

sudo apt-get -y purge sludge-compiler

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

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

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

References

Summary

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