[Haskell-cafe] Global Package Install
Henning Thielemann
lemming at henning-thielemann.de
Thu Feb 18 09:42:43 UTC 2021
On Thu, 18 Feb 2021, A. Mc. wrote:
> I am trying to add the package System.Random to be able to run it the
> same way Data.List or Data.Char, et cetera does in ghci and in doing a
> ghc command line build.
Do you want to use it from plain GHCi or from 'stack ghci'?
Plain GHCi accesses the packages that are listed by
$ ghc-pkg list
If you want to install and add a package to this list, you can run
$ cabal v1-install random
More information about the Haskell-Cafe
mailing list