首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法安装pgcrypto

无法安装pgcrypto
EN

Stack Overflow用户
提问于 2019-07-04 15:47:11
回答 1查看 894关注 0票数 0

我是postgres新手,我需要下载并安装pgcrypto扩展。我在命令下运行,但什么也没有发生:

代码语言:javascript
复制
    [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上的几个命令,并尝试使用以下命令:

代码语言:javascript
复制
    [root@localhost ~]# gppkg -r pgcrypto
-bash: gppkg: command not found

我在centos上使用postgres 11.3。请让我知道合适的命令/链接,我可以从那里下载/安装pgcrypto。任何帮助都将不胜感激。

谢谢

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-07-04 17:55:08

您可能正在寻找要安装的postgresql11-contrib包:

代码语言:javascript
复制
# 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.
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/56883042

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档