Difference between revisions of "Arch Linux/Preferred Package Tools"
DonStewart (talk | contribs) |
DonStewart (talk | contribs) |
||
Line 7: | Line 7: | ||
$ sudo [http://aur.archlinux.org/packages.php?ID=33511 bauerbill] --no-color --build-as $USER --aur -S cpphs |
$ sudo [http://aur.archlinux.org/packages.php?ID=33511 bauerbill] --no-color --build-as $USER --aur -S cpphs |
||
⚫ | |||
+ | == Recommended Tools == |
||
⚫ | |||
⚫ | |||
− | Instead of yaourt, we recommend the following tools: |
||
⚫ | |||
+ | |||
⚫ | |||
⚫ | |||
⚫ | |||
+ | |||
⚫ | |||
== Examples == |
== Examples == |
Revision as of 02:48, 25 January 2010
Haskell packages in Arch Linux, as stated by the Arch Haskell Arch Linux/Policy, use "provides" syntax in PKGBUILDs. In partcular, the ghc package "provides" many core libraries. This set changes from release to release, and you can find the current 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 bauerbill --no-color --build-as $USER --aur -S cpphs
Recommended Tools
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