DEV Community

Cover image for Apache AGE Complete Installation Guide - Part 1 ( WSL tool for Windows users )
David George
David George

Posted on

Apache AGE Complete Installation Guide - Part 1 ( WSL tool for Windows users )

1. Introduction and Overview
AGE stands for Advanced Graph Extension, which is a multi-model graph database, introduced on top of PostgreSQL as an Extension from Bitnine company.

in this blog, we will have a guide for age installation step by step.

2. Installation Guide [ windows user ]

Since currently Windows is not supported, and it supports only Linux and Mac we can go around this by using the WSL tool.

2.1 WSL

  • WSL stands for Windows Subsystem for Linux
  • it's a feature of the Windows operating system that enables you to run a Linux file system, along with Linux command-line tools and GUI apps, directly on Windows, alongside your traditional Windows desktop and apps.
  • so we will use it to have a Linux terminal to be able to use it for age installation as we mentioned before.

Let's go through first how to set up WSL and use one of the Linux distros ( distributions ).

First open your Windows command line (CMD),
and check for WSL exists and if there is any problem with it or have any required updates.

wsl

WSL command

also, you can check directly for updates using

wsl.exe --update

WSL update command

you can check for more you can do with it using the help command,

wsl --help

WSL help command

Second we have to install one of the Linux distributions to start using it ( specifically it's terminal ), for this tutorial, we will use the Ubuntu distro.

to install specific distribution we use the command,
wsl --install -d <name of distribution>
for our use case, we will use it for Ubuntu distribution so it will be,

wsl --install -d ubuntu

after this command ubuntu will be downloaded and installed ( it may take some time to download according to your internet connection ), after installation, you have to write your UNIX username, specify your password, then restart your device to have these changes all applied and go in action.

In my case I have already installed Ubuntu before so, it directly opens the Ubuntu distro terminal to start using.

WSL install distribution command

Third After installation and restart, we start our Linux Terminal ( ubuntu terminal in this case ) either by wsl command directly in the command line ( starts the default distro installed ),

wsl

or if you have problems with it you can specify the distro to start by,

wsl -d <distro name>

In this case,

wsl -d ubuntu

Preview Linux terminal from WSL

That's Awesome! Now the problem of not supporting Windows is solved we have our Linux terminal ready to use inside our Windows OS, and we are ready to install AGE exactly as if we were using Linux OS from the beginning.

Follow up to the next part to continue our installation journey.

Top comments (0)