Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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, Ask, karel Apr 15 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. askubuntu.com/questions/286764/… –  v2r Apr 6 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 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 at 10:23
    
Welcome to Ask Ubuntu. Please, could you put some of your time to read askubuntu.com/help/someone-answers? –  Sylvain Pineau Apr 8 at 11:14
    
Did you try sudo apt-get update before you did sudo apt-get install haskell-platform? –  i08in Apr 14 at 4:13

1 Answer 1

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.

share|improve this answer

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