# --- # Install from APT repository # --- # see: https://grafana.com/docs/grafana/latest/setup-grafana/installation/debian/ # Note # Grafana Enterprise is the recommended and default edition. It is available # for free and includes all the features of the OSS edition. You can also # upgrade to the full Enterprise feature set, which has support for # Enterprise plugins. # 1. Install the prerequisite packages: # sudo apt-get install -y apt-transport-https software-properties-common wget # 2. Import the GPG key: # sudo mkdir -p /etc/apt/keyrings/ wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor | sudo tee /etc/apt/keyrings/grafana.gpg > /dev/null # 3. To add a repository for stable releases, run the following command: # echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list # 4. Run the following command to update the list of available packages: # Run the following command to update the list of available packages: # 5. To install Grafana OSS, run the following command: # # Installs the latest OSS release: # sudo apt-get install grafana