cabal-debian command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cabal-debian: command not found
or when using sudo you get the following error message
sudo: cabal-debian: command not found
Solutions to cabal-debian: command not found
How To Fix cabal-debian: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cabal-debian is provided by cabal-debian package.
cabal-debian is:
Tool for creating debianizations of Haskell packages based on the .cabal file. If apt-file is installed it will use it to discover what is the Debian package name of a C library.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cabal-debian
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cabal-debian.
sudo apt -y install cabal-debian
Or if you have aptitude installed you can use the following command.
sudo aptitude install cabal-debian
Summary
In this tutorial we learn how to fix cabal-debian command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.