DEV Community

steila
steila

Posted on • Edited on

2

Age Installation Guide for Windows.

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
Enter fullscreen mode Exit fullscreen mode
  • 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

Enter fullscreen mode Exit fullscreen mode
  • 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
Enter fullscreen mode Exit fullscreen mode

The is how my path looks like.

/home/chidera/postgres-age/postgres/postgresql-11.18/bin/pg_config
Enter fullscreen mode Exit fullscreen mode
  • 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
Enter fullscreen mode Exit fullscreen mode
  • Check the installation.
sudo make PG_CONFIG=/home/chidera/postgres-age/postgres/postgresql-11.18/bin/pg_config installcheck
Enter fullscreen mode Exit fullscreen mode

And so AGE has been successfully installed. Further Installation guides can be seen in the READme of the GitHub repository.

Contribute to Apache AGE

https://age.apache.org/
https://github.com/apache/age

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay