Невозможно установить pgcrypto - PullRequest
0 голосов
/ 04 июля 2019

Я новичок в postgres, мне нужно скачать и установить расширение pgcrypto.Я запустил команду ниже, но ничего не произошло:

    [root@localhost /]# yum install pgcrypto
   Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.nbrc.ac.in
* extras: mirrors.nhanhoa.com
 * updates: mirror.nbrc.ac.in
No package pgcrypto available.
Error: Nothing to do

Затем я посмотрел на несколько команд в Google и попробовал следующее:

    [root@localhost ~]# gppkg -r pgcrypto
-bash: gppkg: command not found

Я использую Postgres 11,3 на Centos.Пожалуйста, дайте мне знать соответствующую команду / ссылку, откуда я могу скачать / установить pgcrypto.Любая помощь будет оценена.

Спасибо,

1 Ответ

1 голос
/ 04 июля 2019

Вы, вероятно, ищете пакет postgresql11-contrib для установки:

# yum info postgresql11-contrib
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: centos.mirror.triple-it.nl
 * extras: mirror.nforce.com
 * updates: centos.mirror.triple-it.nl
Available Packages
Name        : postgresql11-contrib
Arch        : x86_64
Version     : 11.4
Release     : 1PGDG.rhel7
Size        : 617 k
Repo        : pgdg11/7/x86_64
Summary     : Contributed source and binaries distributed with PostgreSQL
URL         : https://www.postgresql.org/
License     : PostgreSQL
Description : The postgresql11-contrib package contains various extension modules that are
            : included in the PostgreSQL distribution.
...