Difference between revisions of "GNU/Linux"

From HaskellWiki
Jump to navigation Jump to search
(Added a subsection for RHEL, CentOS, Scientific Linux 5 and 6 and Fedora 16 and 17)
m (fix repology link)
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
Haskell support on various Linux distributions. How to find Haskell applications and tools, contribute new packages, and get help for your distribution.
 
Haskell support on various Linux distributions. How to find Haskell applications and tools, contribute new packages, and get help for your distribution.
   
  +
Available downloads:
* [http://haskell.org/ghc/download_ghc_6_10_1.html#binaries Download GHC for Linux]
 
  +
* [https://www.haskell.org/ghcup/ GHCup]
  +
* [http://www.haskell.org/ghc/distribution_packages GHC Distribution Packages] (see also the [https://repology.org Repology] pages for [https://repology.org/project/ghc/versions GHC] and [https://repology.org/project/ghc/versions cabal-install])
  +
* [http://www.haskell.org/ghc/ GHC source]
  +
For most cases, GHCup is the preferred download.
   
 
Mostly distributions should provide:
 
Mostly distributions should provide:
Line 10: Line 14:
 
* Cabal and cabal-install
 
* Cabal and cabal-install
   
Optionally they provide parts of the emerging [http://haskell.org/haskellwiki/Haskell_Platform Haskell Platform].
 
   
 
==Arch Haskell==
 
==Arch Haskell==
 
http://www.thelin-xportal.com/albums/files/arch.jpg
 
   
 
[http://wiki.archlinux.org/index.php/Haskell_package_guidelines Main Arch Haskell site]
 
[http://wiki.archlinux.org/index.php/Haskell_package_guidelines Main Arch Haskell site]
Line 37: Line 38:
 
| [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/cabal2arch cabal2arch]
 
| [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/cabal2arch cabal2arch]
 
|}
 
|}
  +
   
 
==Debian GNU/Linux==
 
==Debian GNU/Linux==
Line 48: Line 50:
 
* IRC channel: #debian-haskell @ irc.debian.org
 
* IRC channel: #debian-haskell @ irc.debian.org
 
* Making new packages: .deb from .cabal is a [[Creating_Debian_packages_from_Cabal_package|fairly easy process]].
 
* Making new packages: .deb from .cabal is a [[Creating_Debian_packages_from_Cabal_package|fairly easy process]].
  +
   
 
==Fedora==
 
==Fedora==
Line 56: Line 59:
 
* Mailing list: [http://www.redhat.com/mailman/listinfo/fedora-haskell-list fedora-haskell-list]
 
* Mailing list: [http://www.redhat.com/mailman/listinfo/fedora-haskell-list fedora-haskell-list]
 
* IRC channel: The #fedora-haskell IRC channel on Freenode
 
* IRC channel: The #fedora-haskell IRC channel on Freenode
  +
   
 
==Gentoo==
 
==Gentoo==
[[Gentoo]]
 
 
http://www.gentoo.org/images/icon-gentoo.png
 
   
 
[[Gentoo]]
   
 
{|
 
{|
Line 74: Line 76:
 
|}
 
|}
   
  +
  +
==NixOS==
  +
  +
[https://nixos.org/ NixOS] is a Linux distribution with a unique approach to package and configuration management. Built on top of the [https://nixos.org/nix/ Nix] package manager, it is completely declarative, makes upgrading systems reliable, and has many other advantages. [https://nixos.org/nix/ Nix] package manager distributes build instructions for all Haskell packages registered on Hackage.
  +
  +
{|
  +
| Matrix
  +
| [https://matrix.to/#/#haskell:nixos.org #haskell:nixos.org]
  +
|-
  +
| Documentation
  +
| [https://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure User’s Guide to the Haskell Infrastructure], [https://haskell4nix.readthedocs.io/ Documentation for the Haskell Infrastructure], [https://github.com/Gabriel439/haskell-nix Nix and Haskell in production]
  +
|-
  +
| Tools
  +
| [https://github.com/NixOS/cabal2nix cabal2nix], [https://github.com/input-output-hk/stack2nix stack2nix], [https://input-output-hk.github.io/haskell.nix/ haskell.nix]
  +
|}
   
 
==Slackware Linux==
 
==Slackware Linux==
  +
 
Slackware does not have official Haskell support.
 
Slackware does not have official Haskell support.
   
Line 82: Line 100:
   
 
Tools: [http://gorgias.mine.nu/repos/slackBuild/ slackbuild]
 
Tools: [http://gorgias.mine.nu/repos/slackBuild/ slackbuild]
  +
   
 
==Ubuntu==
 
==Ubuntu==
  +
 
This is pretty much the same as Debian, providing you add the 'universe' and/or 'multiverse' repositories, which import Debian packages and recompile them to match Ubuntu dependencies. The exact versions of packages may be different from Debian, but they tend to be ahead of Debian stable (sometimes by a long way).
 
This is pretty much the same as Debian, providing you add the 'universe' and/or 'multiverse' repositories, which import Debian packages and recompile them to match Ubuntu dependencies. The exact versions of packages may be different from Debian, but they tend to be ahead of Debian stable (sometimes by a long way).
  +
(See also [http://askubuntu.com/questions/286764/how-to-install-haskell-platform-for-ubuntu-13-04 How to install Haskell Platform for Ubuntu 13.04?])
   
   
Line 90: Line 111:
   
 
Downloads for these distributions can be found at [http://justhub.org/download JustHub]
 
Downloads for these distributions can be found at [http://justhub.org/download JustHub]
  +
  +
  +
== Blog articles ==
  +
  +
* [http://deltadiaz.blogspot.nl/2013/04/haskell-platform-from-source-in-linux.html Haskell Platform from source in Linux]
  +
* [http://wrongurl.net/gettinghaskell Getting Haskell in Linux]
  +
* [http://www.vex.net/~trebla/haskell/haskell-platform.xhtml Haskell Platform from Source on Unix-Like]
  +
* [http://twdkz.wordpress.com/2011/12/21/installing-ghc-7-0-3-and-the-haskell-platform-on-rhel-5-6/ Installing GHC 7.0.3 and the Haskell platform on RHEL 5.6]
   
   

Latest revision as of 08:44, 29 March 2022

Haskell support on various Linux distributions. How to find Haskell applications and tools, contribute new packages, and get help for your distribution.

Available downloads:

For most cases, GHCup is the preferred download.

Mostly distributions should provide:

  • GHC
  • Core libraries
  • Core development tools
  • Cabal and cabal-install


Arch Haskell

Main Arch Haskell site

Wiki Arch Haskell Wiki
Blog Arch Haskell Blog
IRC #arch-haskell @ freenode.org
Applications Haskell applications provided on Arch Linux
Libraries Haskell libraries on Arch Linux
Tools cabal2arch


Debian GNU/Linux

Debian Gnu/Linux provides a good toolchain for Haskell development


Fedora

Fedora Haskell SIG Page


Gentoo

Gentoo

IRC #gentoo-haskell @ freenode.org
Applications Haskell applications and libraries provided on Gentoo Linux
Tools hackport


NixOS

NixOS is a Linux distribution with a unique approach to package and configuration management. Built on top of the Nix package manager, it is completely declarative, makes upgrading systems reliable, and has many other advantages. Nix package manager distributes build instructions for all Haskell packages registered on Hackage.

Matrix #haskell:nixos.org
Documentation User’s Guide to the Haskell Infrastructure, Documentation for the Haskell Infrastructure, Nix and Haskell in production
Tools cabal2nix, stack2nix, haskell.nix

Slackware Linux

Slackware does not have official Haskell support.

An unofficial Slackware repository for Haskell tools, library and programs is available here. This repository works with slapt-get and swaret.

Tools: slackbuild


Ubuntu

This is pretty much the same as Debian, providing you add the 'universe' and/or 'multiverse' repositories, which import Debian packages and recompile them to match Ubuntu dependencies. The exact versions of packages may be different from Debian, but they tend to be ahead of Debian stable (sometimes by a long way). (See also How to install Haskell Platform for Ubuntu 13.04?)


RHEL, CentOS, Scientific Linux 5 and 6 and Fedora 16 and 17

Downloads for these distributions can be found at JustHub


Blog articles