You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/install_and_upgrade.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,12 @@ or:
10
10
11
11
wget -qO- https://get.haskellstack.org/ | sh
12
12
13
-
Distribution packages are available for [Ubuntu](#ubuntu), [Debian](#debian),
14
-
[Fedora](#fedora),
15
-
[Arch Linux](#arch-linux) and [FreeBSD](#freebsd).
13
+
14
+
Note that this script will ask for root access using `sudo` in order
15
+
to use your platform's package manager to install dependencies and to
16
+
install to `/usr/local/bin`. If you prefer more control, follow the
17
+
manual installation instructions for your platform below.
18
+
16
19
Binaries for other operating systems are listed below, and available on
17
20
[the GitHub release page](https://github.com/fpco/stack/releases). For the
18
21
future, we are open to supporting more OSes (to request one, please
@@ -249,7 +252,7 @@ or:
249
252
* Extract the archive and place `stack` somewhere on your `$PATH` (see [Path section below](#path))
250
253
251
254
* Ensure you have required system dependencies installed. These include GCC, GNU make, xz, perl, libgmp, libffi, and zlib. We also recommend Git and GPG. To install these using your package manager:
* Fedora / CentOS: `sudo dnf install perl make automake gcc gmp-devel libffi zlib xz tar git gnupg` (use `yum` instead of `dnf` on CentOS and Fedora <= 21)
254
257
* Fedora 24: In order to use `stack setup` on a 32-bit system, you may
255
258
need to run `sudo dnf install ncurses-compat-libs`. If this package is
@@ -292,9 +295,9 @@ Run:
292
295
293
296
## Path
294
297
295
-
You can install stack by copying it anywhere on your PATH environment variable. We recommend installing in the same directory where stack itself will install executables (that way stack is able to upgrade itself!). On Windows, that directory is `%APPDATA%\local\bin`, e.g. "c:\Users\Michael\AppData\Roaming\local\bin". For other systems, use`$HOME/.local/bin`.
298
+
You can install stack by copying it anywhere on your PATH environment variable. A good place to install is the same directory where stack itself will install executables. On Windows, that directory is `%APPDATA%\local\bin`, e.g. `c:\Users\Michael\AppData\Roaming\local\bin`. For other systems, it's`$HOME/.local/bin`.
296
299
297
-
If you don't have that directory in your PATH, you may need to update your PATH (such as by editing .bashrc).
300
+
If you don't have that directory in your PATH, you may need to update your PATH (such as by editing `~/.bashrc`).
298
301
299
302
If you're curious about the choice of these paths, see [issue #153](https://github.com/commercialhaskell/stack/issues/153)
0 commit comments