Having Installed PostgreSQL, let's Install AGE. This post is a continuation of my previous post about Postgres installation from source code.
- Enter into the directory where Postgres was installed.
cd postgres-age
git clone https://github.com/apache/age.git
- If you want a different branch of AGE, let's say version 1.3.0,you can view all available branches and then switch to the new branch.
git branch -r
git switch release/PG13/1.3.0
- From the directory where PostgreSQL was installed, find the path to your pg_config by running this command. Copy this path.
cd postgres
cd postgresql-11.18
find / -name pg_config
The is how my path looks like.
/home/chidera/postgres-age/postgres/postgresql-11.18/bin/pg_config
- Now go back to the AGE directory and set the environment variable called "PG_CONFIG" to this path you copied and then install.
cd ..
cd ..
cd age
sudo make PG_CONFIG=/home/chidera/postgres-age/postgres/postgresql-11.18/bin/pg_config install
- Check the installation.
sudo make PG_CONFIG=/home/chidera/postgres-age/postgres/postgresql-11.18/bin/pg_config installcheck
And so AGE has been successfully installed. Further Installation guides can be seen in the READme of the GitHub repository.
Contribute to Apache AGE
Top comments (0)