mirror of
https://github.com/bitemyapp/learnhaskell.git
synced 2024-11-03 23:15:18 +00:00
linux distribution install guide correction (#148)
* linux distribution install guide correction configuration file package.keywords seems deprecated and file format is different * keep original formatting
This commit is contained in:
parent
5e1e2f1551
commit
aac8e3dfb2
@ -150,10 +150,10 @@ Unter Gentoo kannst du verschiedene Komponenten der Haskell Platform
|
||||
via Portage installieren. Wenn du `ACCEPT_KEYWORDS=arch` nutzt (anstatt
|
||||
`ACCEPT_KEYWORDS=~arch`), installiert Portage die uralt Versionen der verschiedenen
|
||||
Haskell Teile. Daher füge, wenn du, und *nur* wenn du `ACCEPT_KEYWORDS=arch` nutzt, das
|
||||
Folgende in `/etc/portage/package.keywords` ein.
|
||||
Folgende in `/etc/portage/package.accept_keywords` ein.
|
||||
|
||||
dev-haskell/cabal-install
|
||||
dev-lang/ghc
|
||||
dev-haskell/cabal-install ~arch
|
||||
dev-lang/ghc ~arch
|
||||
|
||||
Wenn das getan ist:
|
||||
|
||||
|
@ -144,10 +144,10 @@ Haskell depuis Portage. Si vous utilisez `ACCEPT_KEYWORDS=arch` (par opposition
|
||||
`ACCEPT_KEYWORDS=~arch`), Portage installera d'anciennes versions des différents
|
||||
composants Haskell. Maintenant que vous avez ça en tête, si et seulement si vous
|
||||
utilisez `ACCEPT_KEYWORDS=arch`, ajoutez ce qui suit à
|
||||
`/etc/portage/package.keywords`.
|
||||
`/etc/portage/package.accept_keywords`.
|
||||
|
||||
dev-haskell/cabal-install
|
||||
dev-lang/ghc
|
||||
dev-haskell/cabal-install ~arch
|
||||
dev-lang/ghc ~arch
|
||||
|
||||
Une fois que cela est fait,
|
||||
|
||||
|
@ -149,10 +149,10 @@ $ sudo pacman -S cabal-install ghc happy alex haddock
|
||||
|
||||
Su Gentoo, potete installare i singoli componenti della Haskell Platform
|
||||
attraverso Portage. Se usate `ACCEPT_KEYWORDS=arch` (invece che
|
||||
`ACCEPT_KEYWORDS=~arch`), Portage installerà versioni più vecchie di Haskell. Tenendone di conto, se usate `ACCEPT_KEYWORDS=arch`, aggiungete le seguenti linee a `/etc/portage/package.keywords`.
|
||||
`ACCEPT_KEYWORDS=~arch`), Portage installerà versioni più vecchie di Haskell. Tenendone di conto, se usate `ACCEPT_KEYWORDS=arch`, aggiungete le seguenti linee a `/etc/portage/package.accept_keywords`.
|
||||
|
||||
dev-haskell/cabal-install
|
||||
dev-lang/ghc
|
||||
dev-haskell/cabal-install ~arch
|
||||
dev-lang/ghc ~arch
|
||||
|
||||
Una volta fatto quello, lanciate:
|
||||
|
||||
|
@ -183,10 +183,10 @@ $ sudo pacman -S cabal-install ghc happy alex haddock
|
||||
|
||||
На Gentoo вы можете установить индивидуальные компоненты Haskell Platform через Portage.
|
||||
Если вы используете `ACCEPT_KEYWORDS=arch` (вместо `ACCEPT_KEYWORDS=~arch`),
|
||||
Portage установит древние версии различных компонент Haskell. Помня это, если вы используете `ACCEPT_KEYWORDS=arch`, добавьте следующие строки в `/etc/portage/package.keywords`.
|
||||
Portage установит древние версии различных компонент Haskell. Помня это, если вы используете `ACCEPT_KEYWORDS=arch`, добавьте следующие строки в `/etc/portage/package.accept_keywords`.
|
||||
|
||||
dev-haskell/cabal-install
|
||||
dev-lang/ghc
|
||||
dev-haskell/cabal-install ~arch
|
||||
dev-lang/ghc ~arch
|
||||
|
||||
Как только это сделано,
|
||||
|
||||
|
@ -124,8 +124,8 @@ $ sudo pacman -S cabal-install ghc happy alex haddock
|
||||
你可以透過Portage來分別安裝Haskell Platform的各個組件。如果你使用`ACCEPT_KEYWORDS=arch`,而非`ACCEPT_KETWORDS=~arch`,
|
||||
Portage會弄個老舊的Haskell給你。因此,舉凡用了`ACCEPT_KEYWORDS=arch`,請把下面這幾行加進去:
|
||||
|
||||
dev-haskell/cabal-install
|
||||
dev-lang/ghc
|
||||
dev-haskell/cabal-install ~arch
|
||||
dev-lang/ghc ~arch
|
||||
|
||||
接著請執行:
|
||||
|
||||
|
@ -114,10 +114,10 @@ On Gentoo, you can install the individual components of the Haskell Platform
|
||||
through Portage. If you use `ACCEPT_KEYWORDS=arch` (as opposed to
|
||||
`ACCEPT_KEYWORDS=~arch`), Portage will install ancient versions of the various
|
||||
Haskell things. With that in mind, iff you use `ACCEPT_KEYWORDS=arch`, add the
|
||||
following to `/etc/portage/package.keywords`.
|
||||
following to `/etc/portage/package.accept_keywords`.
|
||||
|
||||
dev-haskell/cabal-install
|
||||
dev-lang/ghc
|
||||
dev-haskell/cabal-install ~arch
|
||||
dev-lang/ghc ~arch
|
||||
|
||||
Once that is done,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user