How To Install haskell-hosc-utils on Ubuntu 18.04

In this tutorial we learn how to install haskell-hosc-utils on Ubuntu 18.04. haskell-hosc-utils is Haskell Open Sound Control

Introduction

In this tutorial we learn how to install haskell-hosc-utils on Ubuntu 18.04.

What is haskell-hosc-utils

haskell-hosc-utils is:

hosc implements a subset of the Open Sound Control byte protocol.

Sound.OSC.Core implements the actual protocol.

Sound.OSC.Transport.FD implements a file-descriptor-based transport layer for UDP and TCP.

Sound.OSC.Transport.Monad implements a monadic interface to the FD transport layer.

Composite modules are at Sound.OSC and Sound.OSC.FD.

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

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

sudo apt-get update

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

sudo apt-get -y install haskell-hosc-utils

Install haskell-hosc-utils Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install haskell-hosc-utils using apt by running the following command:

sudo apt -y install haskell-hosc-utils

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

sudo aptitude -y install haskell-hosc-utils

How To Uninstall haskell-hosc-utils on Ubuntu 18.04

To uninstall only the haskell-hosc-utils package we can use the following command:

sudo apt-get remove haskell-hosc-utils

Uninstall haskell-hosc-utils And Its Dependencies

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

sudo apt-get -y autoremove haskell-hosc-utils

Remove haskell-hosc-utils Configurations and Data

To remove haskell-hosc-utils configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge haskell-hosc-utils

Remove haskell-hosc-utils configuration, data, and all of its dependencies

We can use the following command to remove haskell-hosc-utils configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge haskell-hosc-utils

References

Summary

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