I am trying to do sudo apt-get install haskell-platform
but get only package not found message. What do I actually need to do?
1 Answer
It's really weird because haskell-platform
is actually properly packaged for Ubuntu Saucy (13.10), see the dedicated package page.
I tested installation using the following command and it installed correctly:
sudo apt-get install haskell-platform
The unsatisfiable dependencies libgmp-dev
and libbsd-dev
that you mentioned in your question are both available main, I'd suggest to (re-)enable both main and universe archives and refresh the package list:
sudo apt-get install -f
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"
sudo apt-get update
sudo apt-get install haskell-platform
Note: apt-get install -f
will just ensure that there's no broken package on your system.
sudo apt-get install ghc
but it doesn't work for me. It says it can't be installed because of unsatisfiable dependencieslibgmp-dev
andlibbsd-dev
. Could it be this this works only for 13.04?sudo apt-get update
before you didsudo apt-get install haskell-platform
?