]> granicus.if.org Git - pgbadger/commitdiff
Add documentation on how to install Perl module JSON::XS from apt and yum repositories.
authorGilles Darold <gilles@darold.net>
Tue, 11 Sep 2018 21:17:06 +0000 (23:17 +0200)
committerGilles Darold <gilles@darold.net>
Tue, 11 Sep 2018 21:17:06 +0000 (23:17 +0200)
README
doc/pgBadger.pod

diff --git a/README b/README
index 785ab6218ed4d792a4425f9d1a35cd1fbddbb32d..6e0fa3516e788c25f70ce2275b7c4204b5ef9c5e 100644 (file)
--- a/README
+++ b/README
@@ -376,7 +376,14 @@ REQUIREMENT
             JSON::XS - JSON serialising/deserialising, done correctly and fast
 
     This module is optional, if you don't select the json output format you
-    don't need to install it.
+    don't need to install it. You can install it on a Debian like system
+    using:
+
+        sudo apt-get install libjson-xs-perl
+
+    and in RPM like system using:
+
+        sudo yum install perl-JSON-XS
 
     Compressed log file format is autodetected from the file extension. If
     pgBadger find a gz extension it will use the zcat utility, with a bz2
index b469108c0c4f1a859aedf3f81837c643b29e44fc..8018fff4f7caf71869b9f6db20a351b773287fa8 100644 (file)
@@ -371,7 +371,13 @@ If you want to export statistics as JSON file you need an additional Perl module
        JSON::XS - JSON serialising/deserialising, done correctly and fast
 
 This module is optional, if you don't select the json output format you don't
-need to install it.
+need to install it. You can install it on a Debian like system using:
+
+    sudo apt-get install libjson-xs-perl
+
+and in RPM like system using:
+
+    sudo yum install perl-JSON-XS
 
 Compressed log file format is autodetected from the file extension. If pgBadger find
 a gz extension it will use the zcat utility, with a bz2 extension it will use bzcat