• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / Ubuntu / Commands To Install Grafana on Linux Ubuntu

Commands To Install Grafana on Linux Ubuntu

By Sourabh / July 26, 2022 Category: Ubuntu

Install grafana on Linux Ubuntu – grafana linux dashboard prometheus. Grafana visualise and unifies the data and helps to query, visualize, alert on, and understand the data no matter where it’s stored. With Grafana users can create, explore and share all of the data through flexible dashboards.

Grafana can take read and analyse of the existing data- be it from your Kubernetes cluster, raspberry pi, different cloud services, or even Google Sheets- and visualize it however users want, all from a single dashboard.

Download and Install Grafana from APT repository

You can also download and install Grafana using the official APT repository, by downloading a .deb package, or by downloading a binary .tar.gz file.

Grafana Enterprise: https://packages.grafana.com/enterprise/deb stable main
Grafana Enterprise (Beta): https://packages.grafana.com/enterprise/deb beta main
Grafana OSS: https://packages.grafana.com/oss/deb stable main
Grafana OSS (Beta): https://packages.grafana.com/oss/deb beta main

Install the latest Grafana OSS (Beta)

sudo apt-get install -y apt-transport-https sudo apt-get install -y software-properties-common wget wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add – echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list echo "deb https://packages.grafana.com/oss/deb beta main" | sudo tee -a /etc/apt/sources.list.d/grafana.list sudo apt-get update sudo apt-get install grafana

Install .deb package

Note that wen you insyall the .deb package, you will have to manually update Grafana for each new version.

  1. On the Grafana download page, select the Grafana version you want to install.
    • The most recent Grafana version is selected by default.
    • The Version field displays only finished releases. If you want to install a beta version, click Nightly Builds and then select a version.
  2. Select an Edition.
    • Enterprise – Recommended download. Functionally identical to the open source version, but includes features you can unlock with a license if you so choose.
    • Open Source – Functionally identical to the Enterprise version, but you will need to download the Enterprise version if you want Enterprise features.
  3. Depending on which system you are running, click Linux or ARM.
  4. Copy and paste the code from the installation page into your command line and run. It follows the pattern shown below.
sudo apt-get install -y adduser
wget <.deb package url>
sudo dpkg -i grafana<edition>_<version>_amd64.deb

This starts the grafana-server process as the grafana user, which was created during the package installation.

If you installed with the APT repository or .deb package, then you can start the server using systemd or init.d. If you installed a binary .tar.gz file, then you need to execute the binary.

Primary Sidebar

Latest Posts

Delete Directory And Contents Recursively Without Prompt On Linux

Check User Login History In Ubuntu Linux Command Line

Use Locate Command To Find File In Linux Terminal By Name

How To Change Terminal Color In Ubuntu Command Line

How To Run Fsck Manually In Linux To Fix Unexpected Inconsistency

How To Fix Broken Packages On Ubuntu From Terminal

Re Execute The Previous Command In Linux Ubuntu Command Line

How Much RAM Is Needed For Ubuntu PC

How To Find Large Files And Directories In Linux Command Line

How To Use Clear Command History In Linux Terminal

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap