From 36cf0b18f5c7db870f8b0338ee43e84c32ad4661 Mon Sep 17 00:00:00 2001 From: David Steele Date: Fri, 3 Jun 2016 18:59:12 -0400 Subject: [PATCH] Update installation documentation. * Recommended install location for pgBackRest modules is now /usr/share/perl5 since /usr/lib/perl5 has been removed from the search path in newer versions of Perl. * Added instructions for removing prior versions of pgBackRest. --- doc/xml/release.xml | 14 ++++++++++++++ doc/xml/user-guide.xml | 30 ++++++++++++++++++++++++++++-- 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/doc/xml/release.xml b/doc/xml/release.xml index f71771183..3829ee387 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -84,6 +84,20 @@ + + + + +

Recommended install location for modules is now /usr/share/perl5 since /usr/lib/perl5 has been removed from the search path in newer versions of Perl.

+
+ + +

Added instructions for removing prior versions of .

+
+
+
+
+ diff --git a/doc/xml/user-guide.xml b/doc/xml/user-guide.xml index 45f7e8cc1..f75c96b71 100644 --- a/doc/xml/user-guide.xml +++ b/doc/xml/user-guide.xml @@ -11,8 +11,7 @@ Debian/Ubuntu RHEL/CentOS 6 - /usr/lib/perl5 - /usr/share/perl5 + /usr/share/perl5 /usr/bin /var/lib/pgbackrest @@ -192,6 +191,33 @@ +

If has been installed before it's best to be sure that no prior copies of it are still installed. Depending on how old the version of pgBackRest is it may have been installed in a few different locations. The following commands will remove all prior versions of pgBackRest.

+ + + Remove prior <backrest/> installations + + + rm -f /usr/bin/pgbackrest + + + rm -f /usr/bin/pg_backrest + + + rm -rf /usr/lib/perl5/BackRest + + + rm -rf {[perl-lib-path]}/BackRest + + + rm -rf /usr/lib/perl5/pgBackRest + + + rm -rf {[perl-lib-path]}/pgBackRest + + + +

The new version can now be installed.

+ Install <backrest/>