Skip to content

Commit 6d0ddf3

Browse files
committed
Further updates to ubuntu / debian install docs #3805
1 parent 3cd4c6f commit 6d0ddf3

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

doc/install_and_upgrade.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -94,32 +94,32 @@ problems, see the linked FAQ entries:
9494

9595
* [GHC 7.8.4 fails with `/usr/bin/ar: permission denied`](faq.md#usr-bin-ar-permission-denied)
9696
* [DYLD_LIBRARY_PATH is ignored](faq.md#dyld-library-path-ignored)
97-
97+
9898

9999
If you are on OS X 10.12 ("Sierra") and encounter [GHC panic while building, see this issue](https://github.com/commercialhaskell/stack/issues/2577)
100100

101101
## Ubuntu
102102

103103
Use the [generic Linux option](#linux).
104104

105-
There is also a
106-
[Ubuntu package](http://packages.ubuntu.com/search?keywords=haskell-stack&searchon=names&suite=all&section=all) for
107-
Ubuntu 16.10 and up, but the distribution's Stack version lags behind, so we recommend running `stack upgrade` or `stack upgrade --binary` after installing it. The version in Ubuntu 16.04 is too old to upgrade successfully.
108-
109-
<!-- There is also
110-
a
111-
[Ubuntu package](http://packages.ubuntu.com/search?keywords=haskell-stack&searchon=names&suite=all&section=all) for
112-
Ubuntu 16.10 and up. (Ubuntu 16.04's package cannot upgrade). Note that the distribution's Stack version lags behind, so
113-
we recommend running `stack upgrade` (--binary?) after installing it.
114-
-->
105+
There is also a [Ubuntu
106+
package](http://packages.ubuntu.com/search?keywords=haskell-stack&searchon=names&suite=all&section=all)
107+
for Ubuntu 16.10 and up, but the distribution's Stack version lags behind, so we
108+
recommend running `stack upgrade --binary` after installing it. For older stack
109+
versions which do not support `--binary`, just `stack upgrade` is fine too. The
110+
version in Ubuntu 16.04 is too old to upgrade successfully, and so in that case
111+
stack should be installed from a [release
112+
tarball](https://github.com/commercialhaskell/stack/releases).
115113

116114
## Debian
117115

118116
Use the [generic Linux option](#linux).
119117

120-
There is also a
121-
[Debian package](https://packages.debian.org/search?keywords=haskell-stack&searchon=names&suite=all&section=all) for
122-
Stretch and up, but the distribution's Stack version lags behind, so we recommend running `stack upgrade` or `stack upgrade --binary` after installing it.
118+
There is also a [Debian
119+
package](https://packages.debian.org/search?keywords=haskell-stack&searchon=names&suite=all&section=all)
120+
for Stretch and up, but the distribution's Stack version lags behind, so running
121+
`stack upgrade --binary` is recommended after installing it. For older stack
122+
versions which do not support `--binary`, just `stack upgrade` is fine too.
123123

124124
## <a name="centos"></a>CentOS / Red Hat / Amazon Linux
125125

0 commit comments

Comments
 (0)