Table of Contents Previous Next


3 Using a Package Manager to Install Advanced Server : 3.1 Installing Advanced Server on a Linux Host

You must install xterm, konsole, or gnome-terminal before executing any console-based program installed by EnterpriseDB installers.
dnf -y install https://yum.enterprisedb.com/edbrepos/edb-repo-latest.noarch.rpm
The repository configuration file is named edb.repo. The file resides in /etc/yum.repos.d.
After creating the edb.repo file, use your choice of editor to set the value of the enabled parameter to 1, and replace the username and password placeholders in the baseurl specification with the name and password of a registered EnterpriseDB user.
[edb]
baseurl=https://username:password@yum.enterprisedb.com/edb/redhat/rhel-$releasever-$basearch
curl -o /etc/pki/rpm-gpg/ENTERPRISEDB-GPG-KEY https:// username:password@yum.enterprisedb.com/ENTERPRISEDB-GPG-KEY
Then, you can use yum install or dnf install command to install Advanced Server. For example, to install the server and its core components, use the command:
When you install an RPM package that is signed by a source that is not recognized by your system, yum may ask for your permission to import the key to your local server. If prompted, and you are satisfied that the packages come from a trustworthy source, enter a y, and press Return to continue.
During the installation, yum may encounter a dependency that it cannot resolve. If it does, it will provide a list of the required dependencies that you must manually resolve.
The tables that follow list the RPM packages that are available from EnterpriseDB. You can also use the yum search or dnf search command to access a list of the packages that are currently available from your configured repository. Open a command line, assume superuser privileges, and enter the following command:
Where package is the search term that specifies the name (or partial name) of a package.
Installs contributed tools and utilities that are distributed with Advanced Server. Files for these modules are installed in:
Documentation: /usr/edb/as12/share/doc
Loadable modules: /usr/edb/as12/lib
Binaries: /usr/edb/as12/bin
Installs the PL/Perl procedural language for Advanced Server. Please note that the edb-as12-server-plperl package is dependent on the platform-supplied version of Perl.
Installs the PL/Python procedural language for Advanced Server. Please note that the edb-as12-server-plpython package is dependent on the platform-supplied version of Python. By default, the edb-as12-server-plpython3 package is not installed; you need to explicitly install the package using yum. To install edb-as12-server-plpython3 package, you must first uninstall the plpython platform-supplied version of Python.
Installs the PL/Tcl procedural language for Advanced Server. Please note that the edb-as12-pltcl package is dependent on the platform-supplied version of TCL.
The edb-edbplus package contains the files required to install the EDB*Plus command line client. EDB*Plus commands are compatible with Oracle's SQL*Plus.
The edb-jdbc package includes the .jar files needed for Java programs to access an Advanced Server database.
The edb-migrationtoolkit package installs Migration Toolkit, facilitating migration to an Advanced Server database from Oracle, PostgreSQL, MySQL, Sybase and SQL Server.
The edb-oci package installs the EnterpriseDB Open Client library, allowing applications that use the Oracle Call Interface API to connect to an Advanced Server database.
The edb-pem package installs Management Tool that efficiently manages, monitor, and tune large Postgres deployments from a single remote GUI console.
If you have an existing Advanced Server RPM installation, you can use yum or dnf to upgrade your repository configuration file and update to a more recent product version. To update the edb.repo file, assume superuser privileges and enter:
yum or dnf will update the edb.repo file to enable access to the current EDB repository, configured to connect with the credentials specified in your edb.repo file. Then, you can use yum or dnf to upgrade all packages whose names include the expression edb:
Please note that the yum upgrade or dnf upgrade command will only perform an update between minor releases; to update between major releases, you must use pg_upgrade.

3 Using a Package Manager to Install Advanced Server : 3.1 Installing Advanced Server on a Linux Host

Table of Contents Previous Next