Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I need to install Haskell GHC 32 bit from the command line and I can't find this anywhere.

I need to install it because I need libgmp.so.3 for the 32-bit and i have read somewhere that I can find it when I install the Haskell GHC.

Any ideas how can I install it?

share|improve this question
Were you running a 64bit os? – warl0ck Oct 15 '12 at 11:07
up vote 1 down vote accepted

libgmp.so.3 doesn't have anything to do with Haskell. It belongs to the GMP library, which in CentOS should be available in the package gmp (or similar, I don't have a CentOS box to test right now).

share|improve this answer
well it seems i am searching in a wrong place. do you have any idea how to install from the command line on CentOS ? – user1445117 Jul 9 '12 at 19:48
try yum install gmp – Renan Jul 9 '12 at 21:14
i did that and i got that back. Package gmp-4.3.1-7.el6_2.2.x86_64 already installed and latest version Nothing to do which is the 64 version if i am not mistaken ?? – user1445117 Jul 10 '12 at 4:29


cd /usr/lib
ln -s libgmp.so.3 libgmp.so
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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