From 268d90a03eaab95d13c1326d58fb2287c628aedc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 5 Nov 2009 09:07:43 +0000 Subject: * Various updates. --- doc/manual/installation.xml | 52 +++++++++++++++++++++++++++------------------ 1 file changed, 31 insertions(+), 21 deletions(-) (limited to 'doc/manual/installation.xml') diff --git a/doc/manual/installation.xml b/doc/manual/installation.xml index 7adf00cb6..0e66b8f0e 100644 --- a/doc/manual/installation.xml +++ b/doc/manual/installation.xml @@ -140,16 +140,25 @@ $ ./bootstrap The installation path can be specified by passing the to configure. The default installation directory is -/nix. You can change this to any location you -like. You must have write permission to the +/usr/local. You can change this to any location +you like. You must have write permission to the prefix path. -It is best not to change the -installation prefix from its default, since doing so makes it -impossible to use pre-built binaries from the standard Nixpkgs -channels. +Nix keeps its store (the place where +packages are stored) in /nix/store by default. +This can be changed using +. -If you want to rebuilt the documentation, pass the full path to +It is best not to change the Nix +store from its default, since doing so makes it impossible to use +pre-built binaries from the standard Nixpkgs channels — that is, all +packages will need to be built from source. + +Nix keeps state (such as its database and log files) in +/nix/var by default. This can be changed using +. + +If you want to rebuild the documentation, pass the full path to the DocBook RELAX NG schemas and to the DocBook XSL stylesheets using the @@ -160,27 +169,26 @@ options. -
Installing from RPMs +
Installing a binary distribution -RPM packages of Nix can be downloaded from . These RPMs should work for most -fairly recent releases of SuSE and Red Hat Linux. They have been -known to work work on SuSE Linux 8.1 and 9.0, and Red Hat 9.0. In -fact, it should work on any RPM-based Linux distribution based on -glibc 2.3 or later. +RPM and Deb packages of Nix for a number of different versions +of Fedora, openSUSE, Debian and Ubuntu can be downloaded from . Once downloaded, the RPMs can be +installed or upgraded using rpm -U. For example, + + +$ rpm -U nix-0.13pre18104-1.i386.rpm -Once downloaded, the RPMs can be installed or upgraded using -rpm -U. For example, +Likewise, for a Deb package: -$ rpm -U nix-0.5pre664-1.i386.rpm +$ dpkg -i nix_0.13pre18104-1_amd64.deb -The RPMs install into the directory /nix. -Nix can be uninstalled using rpm -e nix. After -this it will be necessary to manually remove the Nix store and other -auxiliary data: +Nix can be uninstalled using rpm -e nix or +dpkg -r nix. After this you should manually remove +the Nix store and other auxiliary data, if desired: $ rm -rf /nix/store @@ -191,6 +199,7 @@ $ rm -rf /nix/var
+
Security -- cgit v1.2.3