OpenSSL-Query, QueryApp: Add instructions for local installation
authorRichard Levitte <richard@levitte.org>
Thu, 15 Jun 2017 14:24:29 +0000 (16:24 +0200)
committerRichard Levitte <richard@levitte.org>
Thu, 15 Jun 2017 14:24:29 +0000 (16:24 +0200)
README.md

index cb547b34145e74059c508f2decf8518d73ffede5..182507f683673dab43a12b2a9b57250bd3c0b215 100644 (file)
--- a/README.md
+++ b/README.md
@@ -34,6 +34,23 @@ Installation
     $ make
     $ make install
 
+Local installation
+------------
+
+For a local installation, you might want to consider using local::lib
+(debian package liblocal-lib-perl).  In that case, running Makefile.PL
+is slightly different:
+
+    $ perl -Mlocal::lib Makefile.PL
+
+Other than that, follow the instructions in "Installation" above.
+
+To get the paths right permanently, you might want to consider adding
+this in your `.bash_profile`, `.bashrc` och corresponding shell init
+script:
+
+    eval "`perl -I$HOME/perl5/lib/perl5 -Mlocal::lib`"
+
 Testing
 -------