Select your distribution
Please select your distribution on the right.
Generic Linux
This is a generic
distribution of the Haskell Platform. While
it should work on most modern Linux
distributions, you may want to investigate use one of the
distribution-specific options listed on the
right. As GHC links against libgmp,
you may need to install "libgmp-dev" using your package manager of choice.
The latest version of the Haskell Platform for Linux is
8.4.3.
To get started perform these steps:
-
1
Download the
installation tarball.
The core installer is the recommended
installer. It includes all tools. The full installer includes
additional global libraries beyond those packaged
with ghc. It especially serves those who want full-featured installers in situations
where network connectivity should not be taken for
granted.
You can verify the integrity of this file by
checking its
SHA-256 hash,
- 64 bit Core:
- 64 bit Full:
- 32 bit Core:
- 32 bit Full:
-
2
Install by running:
$ tar xf ...downloaded archive...
$ sudo ./install-haskell-platform.sh
-
3
If you have a system with
position independent executables
by default (such as
Ubuntu
16.10 and above), you
should edit the GHC settings
file at
usr/local/haskell/ghc-___/lib/ghc-___/settings
and change the " compiler
supports -no-pie" flag from
"NO" to "YES".
Ubuntu
Haskell Platform is
available in your distribution's package
repository. Note that distribution-packaged versions are typically behind the current
platform release. If you prefer to use the latest version rather than the
distribution-packaged version,
then you may want to use the generic Linux installer.
Simply run,
$ sudo apt-get install haskell-platform
Debian
Haskell Platform is already
available in your distribution's package
repository. Note that distribution-packaged versions are typically behind the current
platform release. If you prefer to use the latest version rather than the
distribution-packaged version,
then you may want to use the generic Linux installer.
Simply run,
$ sudo apt-get install haskell-platform
Linux Mint
Haskell Platform is already
available in your distribution's package
repository. Note that distribution-packaged versions are typically behind the current
platform release. If you prefer to use the latest version rather than the
distribution-packaged version,
then you may want to use the generic Linux installer.
Simply run,
$ sudo apt-get install haskell-platform
Redhat
Haskell Platform is already available in
your distribution's package
repository. Note that distribution-packaged versions are typically behind the current
platform release. If you prefer to use the latest version rather than the
distribution-packaged version,
then you may want to use the generic Linux installer.
Simply run,
$ sudo yum install haskell-platform
Fedora
Haskell Platform is already available in
your distribution's package
repository. Note that distribution-packaged versions are typically behind the current
platform release. If you prefer to use the latest version rather than the
distribution-packaged version,
then you may want to use the generic Linux installer.
Simply run,
$ sudo dnf install haskell-platform
Gentoo
Haskell Platform is already
available in your distribution's
package repository. Note that distribution-packaged versions are typically behind the current
platform release. If you prefer to use the latest version rather than the
distribution-packaged version,
then you may want to use the generic Linux installer.
While there is a haskell-platform ebuild
included in the main Portage tree,
it is recommended that one uses the more
up-to-date gentoo-haskell
overlay. This can be done using layman,
$ sudo layman -a haskell
$ sudo emerge haskell-platform
More details can be found in the
Wiki.
Build from source
If we don't have a binary package suitable for your distribution
you can build the Haskell Platform from source.
-
1
Download and extract the source tarball,
You can verify the integrity of this file by
checking its
SHA-256 hash,
-
2
See the README file for build instructions.