0

I'm just trying to install ghc on my computer. I typed

sudo apt-get install ghc

into the terminal. I then was asked did I want to install, I said yes. Then I was asked did I want to install unverified files. I said yes. Then I got a bunch of error 404's and finally an error:

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I tried installing it via the Software Center and I got a pop up saying:

This requires installing packages from unauthenticated sources.

I clicked OK and it just stopped installing.

Can anyone help me just simply install ghc?

After running sudo apt-get update I get this:

sudo apt-get update output

When I type sudo apt-get install ghc I get this:

sudo apt-get install ghc output

Ben
  • 101

1 Answers1

-1

Try installing the packages on this list: http://packages.ubuntu.com/precise/haskell-platform

sudo apt-get install ghc alex cabal-install happy libghc-cgi-dev libghc-fgl-dev libghc-glut-dev libghc-haskell-src-dev libghc-html-dev libghc-http-dev libghc-hunit-dev libghc-mtl-dev libghc-network-dev libghc-opengl-dev libghc-parallel-dev libghc-parsec3-dev  libghc-quickcheck2-dev libghc-regex-base-dev libghc-regex-compat-dev  libghc-regex-posix-dev libghc-stm-dev libghc-syb-dev  libghc-text-dev  libghc-transformers-dev  libghc-xhtml-dev libghc-zlib-dev

Hope this helps!

BDRSuite
  • 3,196
  • 1
  • 13
  • 11