From e9c88d6f25499f17ac183dcd05af94b0f74b503b Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Fri, 19 May 2023 13:23:09 -0700 Subject: [PATCH] Added instructions for APT [skip ci] --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cf797a3..151fcd6 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ CREATE EXTENSION vector; See the [installation notes](#installation-notes) if you run into issues -You can also install it with [Docker](#docker), [Homebrew](#homebrew), [PGXN](#pgxn), [Yum](#yum), or [conda-forge](#conda-forge) +You can also install it with [Docker](#docker), [Homebrew](#homebrew), [PGXN](#pgxn), [APT](#apt), [Yum](#yum), or [conda-forge](#conda-forge) ## Getting Started @@ -423,6 +423,18 @@ Install from the [PostgreSQL Extension Network](https://pgxn.org/dist/vector) wi pgxn install vector ``` +### APT + +Note: This is currently only available in [testing distributions](https://wiki.postgresql.org/wiki/Apt/FAQ#What_are_the_testing_distributions.3F). + +Debian and Ubuntu packages are available from the [PostgreSQL APT Repository](https://wiki.postgresql.org/wiki/Apt). Follow the [setup instructions](https://wiki.postgresql.org/wiki/Apt#Quickstart) and run: + +```sh +sudo apt install postgresql-15-pgvector +``` + +Note: Replace `15` with your Postgres server version + ### Yum RPM packages are available from the [PostgreSQL Yum Repository](https://yum.postgresql.org/). Follow the [setup instructions](https://www.postgresql.org/download/linux/redhat/) for your distribution and run: