diff options
Diffstat (limited to 'doc/manual/installation')
-rw-r--r-- | doc/manual/installation/installing-binary.xml | 27 | ||||
-rw-r--r-- | doc/manual/installation/supported-platforms.xml | 4 |
2 files changed, 16 insertions, 15 deletions
diff --git a/doc/manual/installation/installing-binary.xml b/doc/manual/installation/installing-binary.xml index a5f9ac844e09..f9ee98c726d2 100644 --- a/doc/manual/installation/installing-binary.xml +++ b/doc/manual/installation/installing-binary.xml @@ -6,7 +6,8 @@ <title>Installing a Binary Distribution</title> -<para>The easiest way to install Nix is to run the following command: +<para>If you are using Linux or Mac OS X, the easiest way to install +Nix is to run the following command: <screen> $ bash <(curl https://nixos.org/nix/install) @@ -18,7 +19,7 @@ run this under your usual user account, <emphasis>not</emphasis> as root. The script will invoke <command>sudo</command> to create <filename>/nix</filename> if it doesn’t already exist. If you don’t have <command>sudo</command>, you should manually create -<command>/nix</command> first as root: +<command>/nix</command> first as root, e.g.: <screen> $ mkdir /nix @@ -40,7 +41,7 @@ build system</link>.</para> or upgraded using <command>rpm -U</command>. For example, <screen> -$ rpm -U nix-1.7-1.i386.rpm</screen> +$ rpm -U nix-1.8-1.i386.rpm</screen> </para> @@ -48,21 +49,21 @@ $ rpm -U nix-1.7-1.i386.rpm</screen> install it like this: <screen> -$ dpkg -i nix_1.7-1_amd64.deb</screen> +$ dpkg -i nix_1.8-1_amd64.deb</screen> </para> -<para>For other platforms, including Mac OS X (Darwin), FreeBSD and -other Linux distributions, you can download a binary tarball that -contains Nix and all its dependencies. (This is what the install -script at <uri>https://nixos.org/nix/install</uri> uses.) You should -unpack it somewhere (e.g. in <filename>/tmp</filename>), and then run -the script named <command>install</command> inside the binary tarball: +<para>For other platforms, including Mac OS X and other Linux +distributions, you can download a binary tarball that contains Nix and +all its dependencies. (This is what the install script at +<uri>https://nixos.org/nix/install</uri> uses.) You should unpack it +somewhere (e.g. in <filename>/tmp</filename>), and then run the script +named <command>install</command> inside the binary tarball: <screen> alice$ cd /tmp -alice$ tar xfj nix-1.7-x86_64-darwin.tar.bz2 -alice$ cd nix-1.7-x86_64-darwin +alice$ tar xfj nix-1.8-x86_64-darwin.tar.bz2 +alice$ cd nix-1.8-x86_64-darwin alice$ ./install </screen> @@ -78,4 +79,4 @@ $ rm -rf /nix</screen> </para> -</chapter> \ No newline at end of file +</chapter> diff --git a/doc/manual/installation/supported-platforms.xml b/doc/manual/installation/supported-platforms.xml index 3f76d082b7d9..cbe528690cd9 100644 --- a/doc/manual/installation/supported-platforms.xml +++ b/doc/manual/installation/supported-platforms.xml @@ -33,7 +33,7 @@ </para> -<para>Nix is pretty portable, so it should work on most other Unix -platforms as well.</para> +<para>Nix is fairly portable, so it should work on most platforms that +support POSIX threads and have a C++11 compiler.</para> </chapter> |