Skip to content

Commit

Permalink
fix by comment
Browse files Browse the repository at this point in the history
Signed-off-by: cutecutecat <junyuchen@tensorchord.ai>
  • Loading branch information
cutecutecat committed Mar 14, 2024
1 parent 015e1fd commit 5ac8688
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ You can configure PostgreSQL by the reference of the parent image in https://hub

## From Debian package

::: tip
Installation from the Debian package requires a dependency on `GLIBC >= 2.29`, e.g:
- `Ubuntu 20.04` or later
- `Debian Bullseye` or later
:::

Debian packages(.deb) are used in distributions based on Debian, such as Ubuntu and many others. They can be easily installed by `dpkg` or `apt-get`.

1. Download the deb package in the release page, and type `sudo apt install vectors-pg15-*.deb` to install the deb package.
Expand All @@ -58,12 +64,17 @@ CREATE EXTENSION vectors;

## From ZIP package

::: tip
Installation from the ZIP package requires a dependency on `GLIBC >= 2.29`, e.g:
- `RHEL 9` or later
:::

For systems that are not Debian based and cannot run a Docker container, please follow these steps to install:

1. Before install, make sure that you have the necessary packages installed, including `PostgreSQL`, `pg_config`, `unzip`, `wget`.

```sh
# Example for RHEL9 dnf
# Example for RHEL 9 dnf
# Please check your package manager
sudo dnf install -y unzip wget libpq-devel
sudo dnf module install -y postgresql:15/server
Expand All @@ -72,7 +83,7 @@ sudo systemctl start postgresql.service
sudo systemctl enable postgresql.service
```

2. Verify whether `$pkglibdir` and `$shardir` have been set by `PostgreSQL`.
2. Verify whether `$pkglibdir` and `$shardir` have been set by PostgreSQL.

```sh
pg_config --pkglibdir
Expand Down

0 comments on commit 5ac8688

Please sign in to comment.