Skip to content

Commit 03a8059

Browse files
copilot: Include missing dependencies in installation instructions. Refs #591.
The Linux section of the README lists GHC and Cabal as dependencies, but more packages are needed. Specifically, in a fresh new Ubuntu as provided via the Docker Hub, users also need to install libz-dev and pkg-config. The programs alex and happy also need to be available. This commit adjust the installation instructions for Linux distributions where Copilot is not directly available as a package to include other dependencies needed, namely libz-dev, pkg-config, alex and happy. The text prior to the instructions is also updated to reflect that this is no longer just the Haskell toolchain but, rather, all dependencies of Copilot.
1 parent f055d82 commit 03a8059

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

copilot/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ Copilot you must install a Haskell compiler (GHC) and the package manager
102102
Cabal. We currently support all versions of GHC from 8.6.5 to modern versions
103103
(9.8 as of this writing). You can install the toolchain using
104104
[ghcup](https://www.haskell.org/ghcup/) or, if you are on Debian/Ubuntu,
105-
directly with `apt-get`:
105+
you can use `apt-get` to install all dependencies as follows:
106106

107107
```sh
108-
$ sudo apt-get install ghc cabal-install
108+
$ sudo apt-get install ghc cabal-install alex happy pkg-config libz-dev
109109
```
110110

111111
Once the compiler is installed, install Copilot from

0 commit comments

Comments
 (0)