Installing VectorChord
VectorChord packages are available via the EDB repositories. The extension uses the pgvector's vector data type and adds the VectorChord's index access method (vchordq).
Prerequisites
Install your flavor of Postgres if not already installed. See:
Set up the repository:
Setting up the repository is a one-time task. If you've already set up your repository, you don't need to perform this step.
To set up the repository, go to EDB repositories and follow the instructions provided there.
Install
pgvector(for thevectordata type) and the VectorChord packages.For SLES, CentOS, RHEL and its derivatives:
sudo <package-manager> -y install edb-<postgres><postgres_version>-pgvector0
For Debian and Ubuntu:
sudo <package-manager> -y install edb-<postgres><postgres_version>-pgvector-0
<package-manager>is the package manager used with your operating system:Package manager Operating system dnf RHEL 8/9 and derivatives zypper SLES apt-get Debian and derivatives <postgres>is the distribution of Postgres you're using:Postgres distribution Value PostgreSQL pg EDB Postgres Advanced Server as EDB Postgres Extended Server postgresextended <postgres_version>is the version of Postgres you're using.
For example, to install pgvector for EDB Postgres Advanced Server 15 on a RHEL 8 platform:
sudo dnf -y install edb-as15-pgvector0
Install the package
sudo <package-manager> -y install edb-<postgres><postgres_version>-vectorchord
<package-manager>is the package manager used with your operating system:Package manager Operating system dnf RHEL 8/9 and derivatives zypper SLES apt-get Debian and derivatives <postgres>is the distribution of Postgres you're using:Postgres distribution Value PostgreSQL pg EDB Postgres Advanced Server as EDB Postgres Extended Server postgresextended <postgres_version>is the version of Postgres you're using.For example, to install
VectorChordfor EDB Postgres Advanced Server 15 on a RHEL 8 platform:sudo dnf -y install edb-as15-vectorchord
- On this page
- Prerequisites
- Install the package
Could this page be better? Report a problem or suggest an addition!