Difference between revisions of "Arch Linux/Preferred Package Tools"

From HaskellWiki
Jump to navigation Jump to search
(Removing this page. Refer to ArchLinux wiki page instead.)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
This article has been removed, please refer to the [https://wiki.archlinux.org/index.php/Main_Page ArchLinux Wiki] for how to install packages from AUR.
Haskell packages in Arch Linux, as stated by the Arch Haskell [[Arch Linux/Policy]], use "provides" syntax in PKGBUILDs. In partcular, the [http://www.archlinux.org/packages/extra/i686/ghc/ ghc] package "provides" many core libraries. This set changes from release to release, and you can find the current [http://repos.archlinux.org/wsvn/packages/ghc/repos/extra-i686/PKGBUILD list of provides here].
 
 
In order for all our Haskell packages not to break on each GHC release, we use the "provides" mechanism to list all dependencies, including those shipped with GHC. That means you will see Haskell packages with, e.g. "haskell-cabal" as a dependency. This package is provided by the ghc package.
 
 
To download a Haskell package, you would use, for example:
 
 
$ sudo [http://aur.archlinux.org/packages.php?ID=33511 bauerbill] --no-color --build-as $USER --aur -S cpphs
 
 
 
== Recommended Tools ==
 
 
* [http://aur.archlinux.org/packages.php?ID=33511 bauerbill]
 
* [http://aur.archlinux.org/packages.php?ID=30242 paktahn]
 
 
 
== Legacy tools: yaourt ==
 
 
Sadly, one of the most famous package builder tools does not support the "provides" field, and thus '''yaourt is entirely broken with Haskell packages'''.
 
 
== Examples ==
 
 
sudo bauerbill --no-color --aur -S haskell-csv
 

Latest revision as of 21:31, 30 January 2011

This article has been removed, please refer to the ArchLinux Wiki for how to install packages from AUR.