---
title: Install victoriametrics on elementary OS using the Snap Store | Snapcraft
description: Get the latest version of victoriametrics for on elementary OS - VictoriaMetrics
  is fast, cost-effective and scalable time-series database.
url: https://snapcraft.io/install/victoriametrics/elementary
---

[Canonical Snapcraft](https://snapcraft.io/)

# Install victoriametrics on **elementary OS**

# victoriametrics

[VictoriaMetrics Community (victoriametricscommunity)](https://snapcraft.io/publisher/victoriametricscommunity "View all snaps from VictoriaMetrics Community (victoriametricscommunity)")

* [VictoriaMetrics Community (victoriametricscommunity)](https://snapcraft.io/publisher/victoriametricscommunity "View all snaps from VictoriaMetrics Community (victoriametricscommunity)")
* [Devices and IoT](https://snapcraft.io/search?categories=devices-and-iot)
* [Server and Cloud](https://snapcraft.io/search?categories=server-and-cloud)

[Install](https://snapcraft.io/install/victoriametrics/elementary#install)

#### VictoriaMetrics is fast, cost-effective and scalable time-series database.

* VictoriaMetrics can be used as long-term storage for Prometheus or for vmagent.
  See [these docs]([#prometheus-setup](https://snapcraft.io/install/victoriametrics/elementary#prometheus-setup)) for details.
  + Supports Prometheus querying API, so it can be used as Prometheus drop-in replacement in Grafana.
    VictoriaMetrics implements MetricsQL, <https://github.com/VictoriaMetrics/VictoriaMetrics/wiki/MetricsQL> query language, which is inspired by PromQL.
  + Supports global query view. Multiple Prometheus instances may write data into VictoriaMetrics. Later this data may be used in a single query.
  + High performance and good scalability for both inserts and selects.
  + High data compression, so up to 70x more data points may be crammed into limited storage comparing to TimescaleDB.
  + Optimized for storage with high-latency IO and low IOPS (HDD and network storage in AWS, Google Cloud, Microsoft Azure, etc).
  + A single-node VictoriaMetrics may substitute moderately sized clusters built with competing solutions such as Thanos, M3DB, Cortex, InfluxDB or TimescaleDB.
  + Easy operation:

    - VictoriaMetrics consists of a single without external dependencies.
    - All the configuration is done via explicit command-line flags with reasonable defaults.
    - All the data is stored in a single directory pointed by `-storageDataPath` flag.
    - Easy and fast backups from
      to S3 or GCS with [vmbackup] / [vmrestore].
  + Storage is protected from corruption on unclean shutdown (i.e. OOM, hardware reset or `kill -9`) thanks to the storage architecture.
  + Supports metrics' scraping, ingestion and backfilling via the following protocols:

    - [Metrics from Prometheus exporters]
      such as node\_exporter.
      * Prometheus remote write API(
      * InfluxDB line protocol over HTTP, TCP and UDP.
      * Graphite plaintext protocol
        if `-graphiteListenAddr` is set.
      * OpenTSDB put message, if `-opentsdbListenAddr` is set.
      * HTTP OpenTSDB /api/put requests, if `-opentsdbHTTPListenAddr` is set.
      * JSON line format.
      * Native binary format.
      * Prometheus exposition format.
      * Arbitrary CSV data.
  + Supports metrics' relabeling. See [these docs]([#relabeling](https://snapcraft.io/install/victoriametrics/elementary#relabeling)) for details.
  + Ideally works with big amounts of time series data from Kubernetes, IoT sensors, connected cars, industrial telemetry, financial data and various Enterprise workloads.
  + Has open source cluster version (<https://github.com/VictoriaMetrics/VictoriaMetrics/tree/cluster>).
  + Configuration management
  + Prometheus scrape config can be edited with your favorite editor, its located at
    `vi /var/snap/victoriametrics/current/etc/victoriametrics-scrape-config.yaml`
    after changes, you can trigger config reread with `curl localhost:8248/-/reload`.
  + Configuration tuning is possible with editing extra\_flags:
    `echo 'FLAGS="-selfScrapeInterval=10s -search.logSlowQueryDuration=20s"' > /var/snap/victoriametrics/current/extra_flags snap restart victoriametrics`
  + Data folder located at `/var/snap/victoriametrics/current/var/lib/victoriametrics/`.

### Package name

* victoriametrics

---

### License

* Apache-2.0

---

### Last updated

* 9 December 2024 - latest/stable
* 9 December 2024 - latest/edge

---

### Websites

* [victoriametrics.com](https://victoriametrics.com/ "https://victoriametrics.com/")

---

### Contact

* [info@victoriametrics.com](mailto:info@victoriametrics.com "mailto:info@victoriametrics.com")

---

### Source code

* [github.com/VictoriaMetrics/VictoriaMetrics](https://github.com/VictoriaMetrics/VictoriaMetrics "https://github.com/VictoriaMetrics/VictoriaMetrics")

---

### Report a bug

* [github.com/VictoriaMetrics/VictoriaMetrics/issues/new/choose](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/new/choose "https://github.com/VictoriaMetrics/VictoriaMetrics/issues/new/choose")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/install/victoriametrics/elementary#report-snap-modal)

---

## Enable snaps on elementary OS and install victoriametrics

Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.

Snaps are discoverable and installable from the [Snap Store](https://snapcraft.io/store), an app store with an audience of millions.

### Enable snapd

Snap can be installed on elementary OS from the command line. Open *Terminal* from the Applications launcher and type the following:

```
sudo apt update
sudo apt install snapd
```

Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.

### Install victoriametrics

To install victoriametrics, simply use the following command:

```
sudo snap install victoriametrics
```

### Other popular snaps…

[See more...](https://snapcraft.io/search?categories=featured)

[See more in Featured](https://snapcraft.io/search?categories=featured)

### More things to do…

#### [Get the snap store](https://snapcraft.io/snap-store)

Browse and find snaps from the convenience of your desktop using the snap store snap.

#### [Learn more about snaps](https://snapcraft.io/docs)

Interested to find out more about snaps? Want to publish your own application? Visit [snapcraft.io](https://snapcraft.io/) now.

[Back to top](https://snapcraft.io/install/victoriametrics/elementary)

© 2026 Canonical Ltd.
Ubuntu and Canonical are registered trademarks of Canonical Ltd.

Powered by [Charmed Kubernetes](https://www.ubuntu.com/kubernetes)

[Join the forum](https://forum.snapcraft.io/), contribute to or report problems with,
[snapd](https://bugs.launchpad.net/snapd),
[Snapcraft](https://bugs.launchpad.net/snapcraft),
or [this site](https://github.com/canonical/snapcraft.io/issues/new).

* [Share on Twitter](https://twitter.com/snapcraftio)
* [Share on Facebook](https://www.facebook.com/snapcraftio)
* [Share on YouTube](https://www.youtube.com/snapcraftio)

* [Terms of Service](https://ubuntu.com/legal/terms-and-policies/snap-store-terms)
* [Data privacy](https://www.ubuntu.com/legal/data-privacy)
* [Manage your tracker settings](https://snapcraft.io/install/victoriametrics/elementary)
* [Service status](https://status.snapcraft.io/)
* [Other functions](https://dashboard.snapcraft.io/)
* [Contact us](https://snapcraft.io/about/contact-us)
