Skip to main content
Version 4.1

PgSmart CLI Installation

  1. Install the PgSmart Client installation package:

    RHEL / CentOS / Rocky / Alma / SUSE / openSUSE

    • Using rpm -ivh

      Terminal input
      sudo rpm -ivh pgsmart-client-4.1.2-1.el8.x86_64.rpm
    • Using dnf install in RHEL-like

      Terminal input
      sudo dnf install pgsmart-client-4.1.2-1.el8.x86_64.rpm
    • Using zypper install in SUSE

      Terminal input
      sudo zypper install pgsmart-client-4.1.2-1.el8.x86_64.rpm

    Debian / Ubuntu

    • Using apt-get install

      Terminal input
      sudo apt-get update
      sudo apt-get install pgsmart-client-4.1.2-amd64.deb
  2. Verify that the installation was successful by running one of the following commands:

  • Check the PgSmart version (--version or -v):

    Terminal input
    pgsmart -v
  • Check the available commands using the help option (--help or -h):

    Terminal input
    pgsmart -h
    Figure 1 - PgSmart Commands
    Figure 1 - PgSmart Commands

    See here how to register a PgSmart Agent

    note

    Database environments with previously installed components are supported provided that:

    • The components and their versions are listed in the PostgreSYS Platform Component Matrix;
    • The component versions are compatible with the PostgreSQL version and with each other, as defined in the official documentation;
    • The components were installed using source files and binaries provided by their respective open-source communities.