Install Grafana on Ubuntu 22.04 LTS
Install Grafana
Get the latest version of Grafana
Official Grafana Download Page
1
sudo apt-get install -y adduser libfontconfig1
Download Grafana for Linux
1
wget https://dl.grafana.com/enterprise/release/grafana-enterprise_9.4.3_amd64.deb
Install Grafana
1
sudo dpkg -i grafana-enterprise_9.4.3_amd64.deb
Start Grafana
1
systemctl start grafana-server
Check status of Grafana
1
systemctl status grafana-server
Additional Plugins to install
1
2
3
grafana-cli plugins install grafana-piechart-panel
grafana-cli plugins install fifemon-graphql-datasource
grafana-cli plugins install grafana-worldmap-panel
Uninstall Grafana
The parameter remove
will remove installation files while keeping configuration data.
1
sudo apt-get remove grafana
Uninstall grafana including dependent package
If you would like to remove grafana and it’s dependent packages which are no longer needed from Ubuntu
1
sudo apt-get remove --auto-remove grafana
Purging grafana
apt-get
to remove configuration files
1
sudo apt-get purge grafana
If you use purge options along with auto remove, will be removed everything regarding the package, It’s really useful when you want to reinstall again.
1
sudo apt-get purge --auto-remove grafana
This post is licensed under CC BY 4.0 by the author.