help on installing ghc package on ubunto
Nathan Sprangers
wolfe at cwazy.co.uk
Sat Dec 4 21:38:34 UTC 2004
Henning Sato von Rosen wrote:
>Hi!
>
>I am new to Ubuntu, and need to install ghc (the Glasgow Haskell Compiler)
>(In Debian, it is known as 'ghc6')
>
>When trying to apt-get it, I only get
>
>root at hcomp2:~ # apt-get update; apt-get install ghc6 ghc6-prof ghc6-doc
>Hit http://security.ubuntu.com warty-security/main Packages
>Get:1 http://security.ubuntu.com warty-security/main Release [102B]
>...
>Building Dependency Tree... Done
>E: Couldn't find package ghc6
>
>I've googled for answers, but maybe looked in the wrong places, so any
>advice would be welcome!
>
>Regards/Henning
>
>
>
You need to add Universe to your /etc/apt/sources.list file (actually
you just need to uncomment it, and you might as well uncomment
multiverse if you feel like it):
sudo gedit /etc/apt/sources.list
For info on universe and multiverse see
http://www.ubuntulinux.org/ubuntu/components/
Note, I did an apt-cache search and only came up with ghc6-doc and
ghc6-libsrc, don't know if that's really what you need or not...
~Nathan
More information about the ubuntu-users
mailing list