Forem

Cover image for Apache AGE Installation
samali0121
samali0121

Posted on

4

Apache AGE Installation

Brief Introduction:
If you are about to install PostgreSQL and Apache AGE on a Windows machine in a step-by-step manner, then this is the right post for you. This post will help you to have a fully functional Apache AGE graph & PostgreSQL, ready to use application.

PostgreSQL:It is the one of the famous open-source database management system refer to as simply "Postgres". It is designed to handle a wide range of workloads, from single-machine applications to large-scale enterprise databases.

Apache AGE

Apache AGE (Advanced Graph Extensions) is a graph database that is built on top of Postgres SQL. AGE allows you to store, query, and analyze graph data using familiar SQL syntax and the PostgreSQL ecosystem.


Installation Guidelines:
There is a step-by-step guide to installing Apache AGE (Advanced Graph Extensions) on a Linux-based system, specifically Ubuntu:

Step 1: Install PostgreSQL

Open terminal & run the following command

sudo apt-get update
sudo apt-get install postgresql
Enter fullscreen mode Exit fullscreen mode

Step 2: Dependencies Installatio**

Run the following command in the terminal

sudo apt-get install libpq-dev build-essential git

Enter fullscreen mode Exit fullscreen mode

Step 3: Cloning Apache AGE Repository

https://github.com/apache/incubator-age.git

git clone https://github.com/apache/incubator-age.git

Enter fullscreen mode Exit fullscreen mode

Step 4: Downloading & Installing AGE

cd age/

# install
sudo make PG_CONFIG=/home/<your pc name>/age_installation/pg/postgresql-11.18/bin/pg_config install

# install check
make PG_CONFIG=/home/<your pc name>//age_installation/pg/postgresql-11.18/bin/pg_config installcheck
Enter fullscreen mode Exit fullscreen mode

Note: PG_CONFIG require the path to the pg_config file. Give the path from the recently installed PostgreSQL.

Step 5: Configuration of Apache AGE

sudo nano /etc/postgresql/<postgresSQL version>/main/postgresql.conf

Enter fullscreen mode Exit fullscreen mode

Add shared_preload_libraries = 'age' to enable Apache AGE.

Step 6: Starting Postgres SQL

sudo service postgresql restart

Enter fullscreen mode Exit fullscreen mode

Verify the installation SELECT age_version();
If Apache AGE is installed properly, it will show the version information.

If you are done with all the above steps then you are successful in installing ApacheAGE on your Ubuntu.

Good luck with that...

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

đź‘‹ Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay