Difference between revisions of "GNU/Linux"

From HaskellWiki
Jump to navigation Jump to search
m (fix repology link)
 
(29 intermediate revisions by 8 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:
  +
* [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:
  +
  +
* GHC
  +
* Core libraries
  +
* Core development tools
  +
* Cabal and cabal-install
  +
   
 
==Arch Haskell==
 
==Arch Haskell==
Line 5: Line 19:
 
[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]
   
  +
{|
* Blog: http://archhaskell.wordpress.com/
 
  +
| Wiki
* IRC channel: #arch-haskell @ freenode.org
 
  +
| [http://wiki.archlinux.org/index.php/Haskell_package_guidelines Arch Haskell Wiki]
* Applications: http://haskell.org/haskellwiki/Arch_Linux/Applications
 
  +
|-
* Libraries: http://aur.archlinux.org/packages.php?SeB=m&K=arch-haskell
 
  +
| Blog
* Tools: [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/cabal2arch cabal2arch]
 
  +
| [http://archhaskell.wordpress.com/ Arch Haskell Blog]
  +
|-
  +
| IRC
  +
| #arch-haskell @ freenode.org
  +
|-
  +
| Applications
  +
| [http://haskell.org/haskellwiki/Arch_Linux/Applications Haskell applications provided on Arch Linux]
  +
|-
  +
| Libraries
  +
| [http://aur.archlinux.org/packages.php?O=0&L=0&C=0&K=arch-haskell&SeB=m&SB=n&SO=a&PP=100&do_Search=Go Haskell libraries on Arch Linux]
  +
|-
  +
| Tools
  +
| [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/cabal2arch cabal2arch]
  +
|}
  +
   
 
==Debian GNU/Linux==
 
==Debian GNU/Linux==
   
[http://www.debian.org Debian Gnu/Linux] provides a very good and
+
[http://www.debian.org Debian Gnu/Linux] provides a good toolchain for Haskell development
comprehensive toolchain for Haskell development.
 
   
* Libraries: The most important packages are available in the
+
* Libraries: The most important packages are available in the [http://packages.debian.org/stable/devel/ stable], [http://packages.debian.org/testing/devel/ testing] and [http://packages.debian.org/unstable/devel/ unstable] trees.
  +
* Applications:
[http://packages.debian.org/stable/devel/ stable],
 
[http://packages.debian.org/testing/devel/ testing] and
+
* Mailing list: [http://lists.debian.org/debian-haskell/ debian-haskell]
[http://packages.debian.org/unstable/devel/ unstable] trees.
 
* Applications: ''todo''
 
* Mailing list: [http://urchin.earth.li/pipermail/debian-haskell/ debian-haskell]
 
 
* Wiki:
 
* Wiki:
* IRC channel:
+
* 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]].
   
Line 29: Line 54:
 
==Fedora==
 
==Fedora==
   
  +
[https://fedoraproject.org/wiki/SIGs/Haskell Fedora Haskell SIG Page]
''About and main page''
 
  +
  +
* Applications/Libraries: [https://bugzilla.redhat.com/buglist.cgi?product=Fedora&component=Package+Review&bug_status=CLOSED&emailcc1=1&emailtype1=substring&email1=fedora-haskell-list%40redhat.com Closed package reviews CC'd to 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
   
* Libraries:
 
* Applications:
 
* Mailing list:
 
* IRC channel: The #fedora-haskell IRC channel.
 
   
 
==Gentoo==
 
==Gentoo==
  +
 
[[Gentoo]]
 
[[Gentoo]]
   
  +
{|
==Slackware Linux==
 
  +
| IRC
The official [http://www.slackware.come Slackware Linux] does not
 
  +
| #gentoo-haskell @ freenode.org
support Haskell at all. No packages are provided.
 
  +
|-
  +
| Applications
  +
| [http://packages.gentoo.org/category/dev-haskell Haskell applications and libraries provided on Gentoo Linux]
  +
|-
  +
| Tools
  +
| [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hackport hackport]
  +
|}
   
An unofficial Slackware repository for Haskell tools, library and
 
programs can be found at this address:
 
   
  +
==NixOS==
http://gorgias.mine.nu/slack/
 
   
  +
[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.
This repository works with [http://software.jaos.org/#slapt-get slapt-get]
 
and [http://swaret.sourceforge.net/index.php swaret].
 
   
  +
{|
The SlackBuild scripts can be found at the following address:
 
  +
| 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==
http://gorgias.mine.nu/repos/slackBuild/
 
   
  +
Slackware does not have official Haskell support.
The scripts can be retrieved via darcs:
 
  +
darcs get http://gorgias.mine.nu/repos/slackBuild/
 
  +
An unofficial Slackware repository for Haskell tools, library and
  +
programs [http://gorgias.mine.nu/slack/ is available here]. This repository works with [http://software.jaos.org/#slapt-get slapt-get] and [http://swaret.sourceforge.net/index.php swaret].
  +
  +
Tools: [http://gorgias.mine.nu/repos/slackBuild/ slackbuild]
   
==Suse==
 
''todo''
 
   
 
==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?])
  +
  +
  +
== RHEL, CentOS, Scientific Linux 5 and 6 and Fedora 16 and 17 ==
  +
  +
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]
  +
   
 
[[Category:OS]]
 
[[Category:OS]]

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