summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-09-02 17:44:56 +0200
committerLudovic Courtès <ludo@gnu.org>2014-09-02 17:44:56 +0200
commitfa747b27fc972240ca3f00a1a4d36e6601d0450e (patch)
treed17d83bf8eb2bd05d46799d84dfc9dcb48222185 /README
parent8b8ea8078124cd4a4a8d2c2effb20577a9c42b66 (diff)
doc: Update "Installing Guix from Guix".
* README: Make 'guix package' command line more readable. Mention --localstatedir.
Diffstat (limited to 'README')
-rw-r--r--README16
1 files changed, 10 insertions, 6 deletions
diff --git a/README b/README
index 9328a4f89ea..7dd016ef802 100644
--- a/README
+++ b/README
@@ -52,19 +52,23 @@ To do so:
52 - Install the dependencies (see 'Requirements' above) and build tools using 52 - Install the dependencies (see 'Requirements' above) and build tools using
53 Guix: 53 Guix:
54 54
55 guix package --install={autoconf,automake,bzip2,gcc-toolchain,gettext,guile,libgcrypt,pkg-config,sqlite} 55 guix package --install autoconf automake bzip2 gcc-toolchain gettext \
56 guile libgcrypt pkg-config sqlite
56 57
57 - set the environment variables that Guix recommends you to set during the 58 - Set the environment variables that Guix recommends you to set during the
58 package installation process: 59 package installation process:
59 ACLOCAL_PATH, CPATH, LIBRARY_PATH, PKG_CONFIG_PATH 60 ACLOCAL_PATH, CPATH, LIBRARY_PATH, PKG_CONFIG_PATH
60 61
61 - set the PATH environment variable to refer to the profile: 62 - Set the PATH environment variable to refer to the profile:
62 PATH=$HOME/.guix-profile/bin:$PATH 63 PATH=$HOME/.guix-profile/bin:$PATH
63 64
64 - re-run the configure script passing it the option 65 - Re-run the 'configure' script passing it the option
65 `--with-libgcrypt-prefix=$HOME/.guix-profile/' 66 '--with-libgcrypt-prefix=$HOME/.guix-profile/', as well as
67 '--localstatedir=/somewhere', where '/somewhere' is the 'localstatedir'
68 value of the currently installed Guix (failing to do that would lead the
69 new Guix to consider the store to be empty!).
66 70
67 - run "make" and "make install" 71 - Run "make", "make check", and "make install".
68 72
69* How It Works 73* How It Works
70 74