From 7ed02c57e244942590f9b18ee29d6423db03ee61 Mon Sep 17 00:00:00 2001 From: Tom Browder Date: Wed, 5 Jul 2017 15:37:51 -0500 Subject: add specific instructions for a system installation (#90) * add specific instructions for a system installation * tweak wording per Zoffix's comment --- README | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index 14ae2b2..a26be11 100644 --- a/README +++ b/README @@ -66,6 +66,13 @@ the source archive directory. Running make install will *not* install anything into /usr/local. If you want to change this behavior, specify the install prefix using the --prefix option. +Configuring with the --prefix option +------------------------------------ +If you want to install rakudo into a system-wide directory, you must either +have root privileges or own the desired installation directory. Assuming you +are root, use any of the desired configuration commands shown above and add +"--prefix=$INSTDIR" to the end where $INSTDIR is the installation directory +of choice. Building Rakudo Star -------------------- @@ -78,8 +85,9 @@ Once Rakudo Star is installed, you can run Perl 6 programs by doing: $ ./perl6 hello.pl -Programs can also be run by adding the "install/bin" directory to your PATH -environment variable. +Programs can also be run by adding the local "install/bin" directory or +system-wide "$INSTDIR" directory (if you used the --prefix option) to +your PATH environment variable. If the Rakudo compiler is invoked without an explicit script to run, it enters a small interactive mode that allows PerlĀ 6 statements to be executed from the -- cgit v1.1