How to install Grafana on Ubuntu 22.04 LTS


Grafana is a web application that combines interactive visualization with analytics and runs on a variety of platforms. When connected to supported data sources, it provides web-based charts, graphs, and alerts.

In this post, We will know how to install Grafana 9 OSS on ubuntu 22.04 LTS.

Step 1: Update the System

We need to update the ubuntu repository by using the given command.

sudo apt-get update

Step 2: Install Dependencies

Grafana required some packages, We need to install the dependencies by using the following command.

sudo apt-get install adduser libfontconfig1 -y

Step 3: Download Grafana .deb

We need to download the grafana_9.3.1_amd64.deb file by following the given command.


Step 4: Install Grafana

We need to use the following command to install Grafana 9.

sudo dpkg -i grafana_9.3.1_amd64.deb

Step 5: Start the Grafana Service

We need to verify and start the Grafana service status its up or not, We need to use the systemctl to get service grafana status, Use the following command for the same.

sudo systemctl start grafana-server.service

Step 6: Verify the Grafana Service

We need to use given command to validate the grafana service using systemctl command.

sudo systemctl status grafana-server.service

Step 7: Access Grafana Portal

After installation of Grafana and getting service up and running So then we are good to access Grafana portal, We need to open port 3000 if we have enabled any firewall utility, Use the following URL to get access Grafana web portal.

http://localhost or http://ip_address_here

We should get grafana webpage liek this.

Step 8: Default Credentials – Grafana

by default, Grafana can be access by given credentials and after that we can update or reset the admin user password.

Username admin

In this screen you need to update your Grafana’s admin password.

In the end we should get the Grafana dashboard like this.


We have successfully installed Grafana on ubuntu 22.04 LTS, If you still have questions, please post them in the comments section below.


How to install Grafana on Ubuntu 22.04 LTS

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top