BART requires a number of dependencies including the libpq library and Boost libraries; these dependencies are met by EDB RPM installers. Perform the following steps to install these dependencies and the BART product.Step 1: Install the EPEL package (Extra Packages for Enterprise Linux), which contains certain libraries that may need to be installed depending upon your Linux operating system:If you receive this error, you can download the EPEL rpm package, and install it manually. To manually install EPEL, download the rpm package, assume superuser privileges, navigate into the directory that contains the package, and install EPEL with the command:For more information about installing EPEL, visit:Step 2: Assume the superuser privileges and use either rpm or yum to create the repository configuration file:Step 3: Use your choice of editor to modify the repository configuration file, enabling each repository from which you will install packages, and providing your credentials. The repository configuration file is named edb.repo; it resides in /etc/yum.repos.d.To enable a repository, change the value of the enabled parameter to 1 and replace the user name and password placeholders in the baseurl specification with your user name and the repository password.For detailed information about using the EDB Yum Repository, see Section 3 of the EDB Postgres Advanced Server Installation Guide for Linux available from the EnterpriseDB website at:
• edbasxx for Advanced Server 9.6 or later. We recommend using the latest version of Advanced Server.For example, to access the enterprisedb-tools repository, enable the following entry:Step 4: After modifying applicable entries in the repository configuration file, save the configuration file and exit the editor.Step 5 (Optional): Install the pg_basebackup utility program using the server client package.If you do not already have the pg_basebackup program installed on the BART host, nor do you later plan to install the PostgreSQL database server or Advanced Server on the BART host, you can install a limited number of files that include the pg_basebackup program by installing the server client package with the following command:yum install edb- asxx-server-client--> Processing Dependency: edb-as10-server-libs(x86-64) = 10.1.5-1.rhel6 for package: edb-as10-server-client-10.1.5-1.rhel6.x86_64--> Processing Dependency: libpq.so.5()(64bit) for package: edb-as10-server-client-10.1.5-1.rhel6.x86_64===============================================================================================================================================================================================================================================================================================================================================================================================================================================================-----------------------------------------------------------------------------------------------------------------------------------------------------Step 6: Install the BART RPM package. Using Yum results in the installation of all dependencies required by BART. These packages are accessed from the repositories you enabled in the edb.repo repository configuration file.The following syntax uses the yum command to install the BART RPM package file that has been downloaded to the current working directory. The local package file is installed by using the complete, RPM package file name:yum install edb-bart-2.3.x-x.rhel7.x86_64.rpmTo install the BART RPM package directly from the EDB Yum Repository website, specify only the package name:========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================Upon successful installation, the BART product is installed in the following directory location referred to as BART_HOME:
BART_HOME/bin BART_HOME/bin BART_HOME/etc xlogreader_ident.so BART_HOME/lib Step 7: Adjust the setting of the PATH environment variable to include the directory location of the BART 2.3 bin subdirectory in the ~/.bashrc or ~/.bash_profile files of the following user accounts:
• The BART user account on the BART host. See Section 4.1, Step 3 for information.
• Step 8: Repeat the installation process described in this section to install to BART 2.3 on all remote hosts where incremental backups are to be restored using BART 2.3. See Section 184.108.40.206 for additional information on restoration of incremental backups on remote hosts.