From 56ba32a542fef178e02bb6668ac1d9f959ba7cd9 Mon Sep 17 00:00:00 2001 From: Juhyung Park Date: Mon, 4 Mar 2024 15:07:23 +0900 Subject: [PATCH] Use pgvector from official APT repository Signed-off-by: Juhyung Park --- README.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index cc87de9..0a59d16 100644 --- a/README.md +++ b/README.md @@ -30,16 +30,10 @@ As the time of writing, Node.js v20 LTS, PostgreSQL 16 and Redis 7.2.4 was used. * [pgvector](https://github.com/pgvector/pgvector) -As the time of writing, pgvector v0.6.0 was used. - -You need the `postgresql-server-dev(-16)` package installed to build and install pgvector. - -It comes with a lot of other dependencies, but you can remove it all after pgvector is built and installed. - -It is recommended to strip the `vector.so` to reduce memory footprint: +pgvector is included in the official PostgreSQL's APT repository: ``` bash -sudo strip /usr/lib/postgresql/*/lib/vector.so +sudo apt install postgresql(-16)-pgvector ``` * [FFmpeg](https://github.com/FFmpeg/FFmpeg)