# Installing on Debian and Ubuntu

## Install VerneMQ

Once you have downloaded the binary package, execute the following command to install VerneMQ:

```
sudo dpkg -i vernemq-<VERSION>.bionic.x86_64.deb
```

## Verify your installation

You can verify that VerneMQ is successfully installed by running:

```
dpkg -s vernemq | grep Status
```

If VerneMQ has been installed successfully `Status: install ok installed` is returned.

## Activate VerneMQ node

Once you've installed VerneMQ, start it on your node:

```
service vernemq start
```

## Default Directories and Paths

The `whereis vernemq` command will give you a couple of directories:

```
whereis vernemq
vernemq: /usr/sbin/vernemq /usr/lib/vernemq /etc/vernemq /usr/share/vernemq
```

| Path               | Description                                                          |
| ------------------ | -------------------------------------------------------------------- |
| /usr/sbin/vernemq: | the vernemq and vmq-admin commands                                   |
| /usr/lib/vernemq   | the vernemq package                                                  |
| /etc/vernemq       | the vernemq.conf file                                                |
| /usr/share/vernemq | the internal vernemq schema files                                    |
| /var/lib/vernemq   | the vernemq data dirs for LevelDB (Metadata Store and Message Store) |

## Next Steps

Now that you've installed VerneMQ, check out [How to configure VerneMQ](https://docs.vernemq.com/1.8.0/configuration/introduction).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vernemq.com/1.8.0/installation/debian_and_ubuntu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
