... | @@ -36,38 +36,35 @@ other packages that are useful for development: |
... | @@ -36,38 +36,35 @@ other packages that are useful for development: |
|
## Debian-based systems (e.g. Debian, Ubuntu)
|
|
## Debian-based systems (e.g. Debian, Ubuntu)
|
|
|
|
|
|
|
|
|
|
|
|
(tested on Ubuntu 11.10)
|
|
|
|
|
|
|
|
|
|
You can make sure you have all dependencies by
|
|
You can make sure you have all dependencies by
|
|
|
|
|
|
> `apt-get build-dep ghc6`
|
|
```wiki
|
|
|
|
sudo apt-get build-dep ghc6
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
But this might install some packages you do not use in your system (e.g. lintian).
|
|
But this might install some packages you do not use in your system (e.g. lintian). Alternatively install the following:
|
|
|
|
|
|
- `libc6-dev`
|
|
```wiki
|
|
- `libncurses5-dev`
|
|
sudo apt-get install haskell-platform git autoconf libtool make libncurses5-dev
|
|
- `libgmp3-dev`
|
|
```
|
|
- `autoconf`
|
|
|
|
- `automake`
|
|
|
|
- `libtool`
|
|
|
|
- `gcc`
|
|
|
|
- `make`
|
|
|
|
- `perl`
|
|
|
|
- `python`
|
|
|
|
- `ghc6`
|
|
|
|
- `happy`
|
|
|
|
- `alex`
|
|
|
|
- `git`
|
|
|
|
- `libffi-dev`
|
|
|
|
|
|
|
|
|
|
|
|
For building the documentation: (User's Guide and Cabal guide):
|
|
For building the documentation (User's Guide):
|
|
|
|
|
|
- `docbook-utils`
|
|
```wiki
|
|
- `docbook-utils-pdf`
|
|
sudo apt-get install dblatex docbook-xsl docbook-utils
|
|
- `docbook-style-xsl`
|
|
```
|
|
|
|
|
|
|
|
|
|
other packages that are useful for development:
|
|
other packages that are useful for development:
|
|
|
|
|
|
- `strace`
|
|
```wiki
|
|
- `patch` |
|
sudo apt-get install linux-tools
|
|
\ No newline at end of file |
|
```
|
|
|
|
|
|
|
|
|
|
|
|
(includes `perf`, see [Debugging/LowLevelProfiling/Perf](debugging/low-level-profiling/perf)) |