DEV Community

praveenr
praveenr

Posted on • Edited on

Installing Neo4j In Ubuntu

The first blog in this series is to install neo4j - desktop version and few plugins which would help us to build an application. I am using Ubuntu 22.04.4 LTS.

STEP 1

Neo4j desktop

  • If you are a mac or windows user, you can try other options available

Mac/Windows

  • You will have to fill these details to download the file

Details

  • Copy the neo4j desktop activation key to a text file, this will be used later

Activation key

STEP 2

  • Open your terminal go to the directory where you have downloaded the file and run the following command, this makes the downloaded file executable
chmod +x DOWLOADED_FILE_NAME
Enter fullscreen mode Exit fullscreen mode
  • To run the application stay in the same directory as your downloaded file and run the following command
./DOWLOADED_FILE_NAME
Enter fullscreen mode Exit fullscreen mode
  • Once you run the command you'll be able to see the application window, paste the key that you copied in software key text box

Paste key screen

STEP 3

  • Click on new project

new project icon

  • Click on add in the top right corner and click on Local DBMS if you want to host the DB locally or Remote Connection if you are using a managed service somewhere. I am going to have it locally.

Image description

STEP 4

  • Add a DB Name and Password, I have set it as praveen_blog and neo4j@123 and click on the create option at the bottom. The default username would be neo4j

name and password

  • Tadaaa your instance is up and running

STEP 5

  • There are few plugins like APOC and Graph Data Science Library - GDS which are really useful and we'll be using it in this blog series.

  • To install them click on praveen_blog and a small window will be opened to the right, in the plugins tab you'll see APOC and Graph Data Science Library, click on install for both of them

APOC, GDS

  • Once they are installed you are good to go. Create your graphs using cypher query and enjoy.

In the fore-coming blogs we'll see how to load data into neo4j using python and build a light weight application for augmented generation also called as RAG.

Hope this helps... See you !!!

LinkedIn - https://www.linkedin.com/in/praveenr2998/

Top comments (0)