Difference between revisions of "GNU/Linux"
JeremyBobbio (talk | contribs) (Add a link to Creating_Debian_packages_from_Cabal_package) |
(add \n for more readability) |
||
(24 intermediate revisions by 7 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. |
||
+ | |||
+ | Available downloads: |
||
+ | * [http://www.haskell.org/platform/linux.html The Haskell Platform] |
||
+ | * [http://www.haskell.org/ghc/distribution_packages GHC Distribution Packages] |
||
+ | * [http://www.haskell.org/ghc/ GHC source] |
||
+ | For most cases, the Haskell Platform is the preferred download. |
||
+ | |||
+ | Mostly distributions should provide: |
||
+ | |||
+ | * GHC |
||
+ | * Core libraries |
||
+ | * Core development tools |
||
+ | * Cabal and cabal-install |
||
+ | |||
+ | |||
+ | ==Arch Haskell== |
||
+ | |||
+ | [http://wiki.archlinux.org/index.php/Haskell_package_guidelines Main Arch Haskell site] |
||
+ | |||
+ | {| |
||
+ | | Wiki |
||
+ | | [http://wiki.archlinux.org/index.php/Haskell_package_guidelines Arch Haskell Wiki] |
||
+ | |- |
||
+ | | Blog |
||
+ | | [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 |
||
− | comprehensive toolchain for Haskell development. |
||
− | 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. |
||
+ | [http://www.debian.org Debian Gnu/Linux] provides a good toolchain for Haskell development |
||
− | A mailing list for discussing the packaging of Haskell tools, libraries and programs |
||
− | on the Debian OS can be found at the following address: |
||
− | http://urchin.earth.li/mailman/listinfo/debian-haskell |
||
+ | * 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. |
||
− | Creating new Debian packages from [[Cabal]] package is a [[Creating_Debian_packages_from_Cabal_package|fairly easy process]]. |
||
+ | * Applications: |
||
+ | * Mailing list: [http://lists.debian.org/debian-haskell/ debian-haskell] |
||
+ | * Wiki: |
||
+ | * IRC channel: #debian-haskell @ irc.debian.org |
||
+ | * Making new packages: .deb from .cabal is a [[Creating_Debian_packages_from_Cabal_package|fairly easy process]]. |
||
− | There is also a darcs package, so you can also 'apt-get install darcs' and then use darcs to get more recent versions of packages (most Haskell libraries seem to have darcs repositories). |
||
==Fedora== |
==Fedora== |
||
+ | |||
− | Write something please. |
||
+ | [https://fedoraproject.org/wiki/SIGs/Haskell Fedora Haskell SIG 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 |
||
+ | |||
==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: |
||
+ | | IRC |
||
+ | | #nixos @ freenode.org |
||
+ | |- |
||
+ | | Documentation |
||
+ | | [https://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure User’s Guide to 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] |
||
+ | |} |
||
− | http://gorgias.mine.nu/repos/slackBuild/ |
||
+ | ==Slackware Linux== |
||
− | The scripts can be retrieved via darcs: |
||
+ | |||
− | darcs get http://gorgias.mine.nu/repos/slackBuild/ |
||
+ | Slackware does not have official Haskell support. |
||
+ | |||
+ | 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== |
||
− | Write something please. |
||
==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]] |
Revision as of 09:29, 27 November 2018
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, the Haskell Platform is the preferred download.
Mostly distributions should provide:
- GHC
- Core libraries
- Core development tools
- Cabal and cabal-install
Arch Haskell
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
- Libraries: The most important packages are available in the stable, testing and unstable trees.
- Applications:
- Mailing list: debian-haskell
- Wiki:
- IRC channel: #debian-haskell @ irc.debian.org
- Making new packages: .deb from .cabal is a fairly easy process.
Fedora
- Applications/Libraries: Closed package reviews CC'd to fedora-haskell-list
- Mailing list: fedora-haskell-list
- IRC channel: The #fedora-haskell IRC channel on Freenode
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.
IRC | #nixos @ freenode.org |
Documentation | User’s Guide to the Haskell Infrastructure, Nix and Haskell in production |
Tools | cabal2nix, stack2nix |
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