【AI人工智能】【向量数据库】安装 PG17、 pgvector/PGroonga扩展 - PostgreSQL

张开发
2026/5/21 23:14:59 15 分钟阅读
【AI人工智能】【向量数据库】安装 PG17、 pgvector/PGroonga扩展 - PostgreSQL
以 Ubuntu 为基础,最快捷地安装带有 pgvector(向量检索)和PGroonga (全文检索) 扩展的 PostgreSQL,最推荐的方式是直接通过 APT 仓库安装编译好的二进制包,而不是从源码手动编译。Ubuntu 版本1. 首先添加 PostgreSQL 官方 APT 仓库,以确保能获取到 17 版本。# 添加官方仓库密钥 sudo apt update sudo apt install -y curl ca-certificates sudo install -d /usr

更多文章