Skip to content

Commit 8e168a1

Browse files
authored
Merge pull request #3337 from pareenaverma/content_review
Tech review of Memgraph IG
2 parents d085525 + 6b265a4 commit 8e168a1

2 files changed

Lines changed: 47 additions & 13 deletions

File tree

assets/contributors.csv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,5 @@ Johnny Nunez,NVIDIA,johnnynunez,johnnycano,,
122122
Raymond Lo,NVIDIA,raymondlo84,raymondlo84,,
123123
Kavya Sri Chennoju,Arm,kavya-chennoju,kavya-sri-chennoju,,
124124
Akash Malik,Arm,akashmalik19973,akash-malik-a65bab219,,
125-
Sue Wu,Arm,,,,
125+
Sue Wu,Arm,,,,
126+
Sabika Tasneem,Memgraph,,,,

content/install-guides/memgraph-on-arm.md

Lines changed: 45 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,18 @@ minutes_to_complete: 20
1515
multi_install: true
1616
multitool_install_part: false
1717
official_docs: https://memgraph.com/docs/getting-started/install-memgraph
18-
test_images:
19-
- ubuntu:24.04
20-
test_maintenance: true
2118
title: Memgraph on Arm
2219
tool_install: true
2320
weight: 1
2421
draft: true
22+
author: Sabika Tasneem
2523
---
2624

2725
[Memgraph](https://memgraph.com/) is an open-source, in-memory graph database built for real-time streaming and analytical workloads. It is compatible with the [Cypher](https://memgraph.com/docs/querying) query language and the Bolt protocol used by Neo4j drivers, so existing Cypher/Bolt applications can connect without changes.
2826

2927
Memgraph publishes native `aarch64` Linux packages and multi-architecture Docker images, so it runs unmodified on Arm-based hardware.
3028

31-
Graph algorithms parallelize well and scale with core count, and Arm servers often have a meaningful cost-per-query advantage over equivalent x86 instances that make them an increasingly popular fit for graph workloads.
29+
Graph algorithms parallelize well and scale with core count. Arm server instances can offer a lower cost per query than equivalent x86 instances for memory-intensive graph workloads.
3230

3331
This guide covers two installation paths:
3432

@@ -62,6 +60,10 @@ If Docker is not already installed, follow the [Docker install guide](/install-g
6260

6361
### How do I start the Memgraph container?
6462

63+
{{% notice Note %}}
64+
The following commands use Memgraph version 3.10.1. The same steps work with other versions. Replace the version number in image tags, package filenames, and download URLs with your chosen version. To find the latest release, see the [Memgraph GitHub releases page](https://github.com/memgraph/memgraph/releases).
65+
{{% /notice %}}
66+
6567
The core image is `memgraph/memgraph`, which includes the Memgraph database plus the bundled `mgconsole` CLI. Start it with:
6668

6769
```bash { target="ubuntu:latest" }
@@ -107,7 +109,7 @@ docker exec -it memgraph mgconsole
107109
You should see a prompt similar to:
108110

109111
```output
110-
mgconsole X.X
112+
mgconsole 1.5.2
111113
Connected to 'memgraph://127.0.0.1:7687'
112114
Type :help for shell usage
113115
Quit the shell by typing Ctrl-D(eof) or :quit
@@ -126,14 +128,22 @@ Memgraph provides native `aarch64` packages for the following distributions:
126128

127129
Choose the package that matches your distribution from the [Memgraph Download Hub](https://memgraph.com/download). For convenience, direct download URLs for every supported platform are listed in the [direct download links](https://memgraph.com/docs/getting-started/install-memgraph/direct-download-links) page.
128130

129-
### How do I install on Ubuntu or Debian?
131+
{{< tabpane-normal >}}
132+
{{< tab header="Ubuntu / Debian" >}}
130133

131134
Download the `arm64` `.deb` package. For Ubuntu 24.04 on Arm:
132135

133136
```bash { target="ubuntu:latest" }
134137
wget https://download.memgraph.com/memgraph/v3.10.1/ubuntu-24.04-aarch64/memgraph_3.10.1-1_arm64.deb
135138
```
136139

140+
Before installing, update the package index and install the required dependency:
141+
142+
```bash { target="ubuntu:latest" }
143+
sudo apt update
144+
sudo apt install -y libatomic1
145+
```
146+
137147
Install the package:
138148

139149
```bash { target="ubuntu:latest" }
@@ -146,7 +156,8 @@ If `dpkg` reports missing dependencies, resolve them with:
146156
sudo apt-get install -f
147157
```
148158

149-
### How do I install on Fedora?
159+
{{< /tab >}}
160+
{{< tab header="Fedora" >}}
150161

151162
Download the Fedora `aarch64` `.rpm`:
152163

@@ -160,6 +171,9 @@ Install it:
160171
sudo dnf install ./memgraph-3.10.1_1-1.aarch64.rpm
161172
```
162173

174+
{{< /tab >}}
175+
{{< /tabpane-normal >}}
176+
163177
### How do I verify Memgraph is running?
164178

165179
The package installs a `systemd` service. Check its status:
@@ -181,7 +195,7 @@ Inspect the startup log to confirm the version:
181195
sudo journalctl --unit memgraph --no-pager | head
182196
```
183197

184-
You should see a line similar to:
198+
You should see output similar to:
185199

186200
```output
187201
You are running Memgraph v3.10.1
@@ -218,7 +232,15 @@ This setting is applied on the Linux host, so it is relevant for both the native
218232

219233
`mgconsole` is Memgraph’s command-line client for executing Cypher queries. It is already included in the Memgraph Linux packages and in the `memgraph/memgraph:3.10.1` and `memgraph/memgraph-mage:3.10.1` Docker images, so you only need a separate install if you want to run it from a different machine.
220234

221-
To install it standalone, download the binary for your platform from the [Memgraph Download Hub](https://memgraph.com/download#individual), or pull the Docker image:
235+
To install it standalone, download the binary for your platform from the [Memgraph Download Hub](https://memgraph.com/download#individual), or pull the Docker image.
236+
237+
If Memgraph is installed directly on the host machine, use host networking so the container can reach it on `localhost`:
238+
239+
```bash { target="ubuntu:latest" }
240+
docker run -it --network host memgraph/mgconsole:latest --host localhost --port 7687
241+
```
242+
243+
If Memgraph is running in another container or on a remote host, replace `localhost` with the appropriate hostname or IP address:
222244

223245
```bash { target="ubuntu:latest" }
224246
docker run -it memgraph/mgconsole:latest --host <memgraph-host> --port 7687
@@ -230,6 +252,10 @@ Full `mgconsole` documentation, including all command-line flags, is available i
230252

231253
With Memgraph running either in Docker or as a native service, you can send queries non-interactively through `mgconsole`.
232254

255+
{{% notice Note %}}
256+
If you installed Memgraph with Docker, replace `mgconsole --host localhost --port 7687` with `sudo docker exec -i memgraph mgconsole` in piped commands, or run `docker exec -it memgraph mgconsole` for an interactive session.
257+
{{% /notice %}}
258+
233259
Create two nodes and a relationship:
234260

235261
```bash { target="ubuntu:latest" }
@@ -243,7 +269,16 @@ Read them back:
243269
echo "MATCH (n) RETURN n;" | mgconsole --host localhost --port 7687
244270
```
245271

246-
The expected output is a two-row tabular result listing the `Alice` and `Bob` nodes.
272+
The output is similar to:
273+
274+
```output
275+
+------------------------------+
276+
| n |
277+
+------------------------------+
278+
| (:Person {name: 'Alice'}) |
279+
| (:Person {name: 'Bob'}) |
280+
+------------------------------+
281+
```
247282

248283
Count the nodes:
249284

@@ -290,8 +325,6 @@ If you prefer an interactive session, run `mgconsole` without piping input:
290325
mgconsole --host localhost --port 7687
291326
```
292327

293-
If you are using the Docker install, substitute `docker exec -it memgraph mgconsole` for `mgconsole` in any of the commands above.
294-
295328
### A quick pattern-matching example
296329

297330
Memgraph’s strength is pattern matching. Try a slightly richer graph:

0 commit comments

Comments
 (0)