Postgres installation problem on centos7

Hello, can anyone help?

I can’t upload attachment

part of output
To create a new user, use these commands as reference (Note: username,
password, and similar user-specific values must be replaced):

CREATE USER new_relic WITH PASSWORD ‘PASSWORD’;
GRANT SELECT ON pg_stat_database TO new_relic;
GRANT SELECT ON pg_stat_database_conflicts TO new_relic;
GRANT SELECT ON pg_stat_bgwriter TO new_relic;

Postgres Username ded

  • Postgres Password ded
  • Postgres Database (default: postgres) postgres
  • Postgres Port (default: 5432) 5432
  • Use SSL to connect? (true/false) false
  • Certificate Authority file (if applicable)
  • Certificate Authority file (if applicable)
  • Trust certificate? (true/false) false
    PEM key file (if applicable)
    sudo: apt-get: command not found
    ==> Installing postgres-open-source-integration…failed.

WARNING encountered an error while executing postgres-open-source-integration: task: Failed to run task “default”: task: Failed to run task “setup”: exit status 1
WARNING execution of PostgreSQL Open Source Integration failed, please see the following link for clues on how to resolve the issue: docs.newrelic.com/search/?q=PostgreSQL+Open+Source+Integration
ERROR Error writing execution status: one or more integrations failed to install, check the install log for more details: /root/.newrelic/newrelic-cli.log
FATAL We encountered an error during the installation: encountered an error while executing postgres-open-source-integration: task: Failed to run task “default”: task: Failed to run task “setup”: exit status 1. If this problem persists please visit the documentation and support page for additional help here: one.nr/06vjAeZLKjP
[root@rshametko-214 ~]#

newrelic-cli.log
time=“2021-03-17T16:06:56-04:00” level=warning msg=“encountered an error while executing postgres-open-source-integration: task: Failed to run task “default”: task: Failed to run task “setup”: exit status 1”
time=“2021-03-17T16:06:56-04:00” level=warning msg=“execution of PostgreSQL Open Source Integration failed, please see the following link for clues on how to resolve the issue: https://docs.newrelic.com/search/?q=PostgreSQL+Open+Source+Integration
time=“2021-03-17T16:06:56-04:00” level=error msg=“Error writing execution status: one or more integrations failed to install, check the install log for more details: /root/.newrelic/newrelic-cli.log”
time=“2021-03-17T16:06:56-04:00” level=fatal msg=“We encountered an error during the installation: encountered an error while executing postgres-open-source-integration: task: Failed to run task “default”: task: Failed to run task “setup”: exit status 1. If this problem persists please visit the documentation and support page for additional help here: one.nr/06vjAeZLKjP”