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?
Asked
Active
Viewed 561 times
1
Gherman
- 163
- 6
-
This might be of help. http://askubuntu.com/questions/286764/how-to-install-haskell-platform-for-ubuntu-13-04 – v2r Apr 06 '14 at 08: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? – Gherman Apr 06 '14 at 08: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 06 '14 at 10:23
-
Welcome to Ask Ubuntu. Please, could you put some of your time to read https://askubuntu.com/help/someone-answers? – Sylvain Pineau Apr 08 '14 at 11:14
-
Did you try `sudo apt-get update` before you did `sudo apt-get install haskell-platform`? – jobin Apr 14 '14 at 04:13
1 Answers
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.
Sylvain Pineau
- 61,564
- 18
- 149
- 183