Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

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?

share|improve this question

marked as duplicate by Alvar, Braiam, Danatela, Maythux, karel Apr 15 '14 at 5:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

This might be of help.… – v2r Apr 6 '14 at 8:15
The Ubuntu version in this question is different. It requires installing ghc with sudo apt-get install ghc but it doesn't work for me. It says it can't be installed because of unsatisfiable dependencies libgmp-dev and libbsd-dev. Could it be this this works only for 13.04? – German Apr 6 '14 at 8:49
Actually I don't know. I provided this link for general information and there was a good chance for it to work on your problem. Sorry that it didn't work out! – v2r Apr 6 '14 at 10:23
Welcome to Ask Ubuntu. Please, could you put some of your time to read – Sylvain Pineau Apr 8 '14 at 11:14
Did you try sudo apt-get update before you did sudo apt-get install haskell-platform? – i08in Apr 14 '14 at 4:13

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 $(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.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.