mirror of
https://github.com/iio612/immich-native.git
synced 2026-04-15 03:11:05 +00:00
Use pgvector from official APT repository
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
This commit is contained in:
10
README.md
10
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)
|
||||
|
||||
Reference in New Issue
Block a user