cpphs-hugs command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cpphs-hugs: command not found
or when using sudo you get the following error message
sudo: cpphs-hugs: command not found
Solutions to cpphs-hugs: command not found
How To Fix cpphs-hugs: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cpphs-hugs is provided by hugs package.
hugs is:
Hugs is an interpreter for the non-strict, purely functional programming language Haskell. This version of Hugs, Hugs 98, supports nearly all of the Haskell 98 specification, as well as a number of extensions.
The Haskell language is described by documents in the haskell-doc package. Other libraries are documented in the ghc6-doc package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install hugs
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install hugs.
sudo apt -y install hugs
Or if you have aptitude installed you can use the following command.
sudo aptitude install hugs
Summary
In this tutorial we learn how to fix cpphs-hugs command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.