Docs: Suggest add-apt-repository to install APT repos (#16333)

* Suggest add-apt-repository to install APT repos
* typo
This commit is contained in:
Pedro Gomes 2019-04-02 12:02:58 +07:00 committed by Torkel Ödegaard
parent fec7c3e133
commit 6e54a7ae05

View File

@ -41,16 +41,16 @@ sudo dpkg -i grafana_5.4.2_amd64.deb
## APT Repository ## APT Repository
Create a file `/etc/apt/sources.list.d/grafana.list` and add the following to it. Install the repository for stable releases
```bash ```bash
deb https://packages.grafana.com/oss/deb stable main sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"
``` ```
There is a separate repository if you want beta releases. There is a separate repository if you want beta releases.
```bash ```bash
deb https://packages.grafana.com/oss/deb beta main sudo add-apt-repository "deb https://packages.grafana.com/oss/deb beta main"
``` ```
Use the above line even if you are on Ubuntu or another Debian version. Then add our gpg key. This allows you to install signed packages. Use the above line even if you are on Ubuntu or another Debian version. Then add our gpg key. This allows you to install signed packages.