How To Install erlang-proper on Ubuntu 18.04

In this tutorial we learn how to install erlang-proper on Ubuntu 18.04. erlang-proper is QuickCheck-inspired property-based testing tool for Erlang

Introduction

In this tutorial we learn how to install erlang-proper on Ubuntu 18.04.

What is erlang-proper

erlang-proper is:

PropEr (PROPerty-based testing tool for ERlang) is a QuickCheck-inspired open-source property-based testing tool for Erlang.

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

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

sudo apt-get update

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

sudo apt-get -y install erlang-proper

Install erlang-proper Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install erlang-proper

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

sudo aptitude -y install erlang-proper

How To Uninstall erlang-proper on Ubuntu 18.04

To uninstall only the erlang-proper package we can use the following command:

sudo apt-get remove erlang-proper

Uninstall erlang-proper And Its Dependencies

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

sudo apt-get -y autoremove erlang-proper

Remove erlang-proper Configurations and Data

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

sudo apt-get -y purge erlang-proper

Remove erlang-proper configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge erlang-proper

References

Summary

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