Browse Source

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

* Suggest add-apt-repository to install APT repos
* typo
Pedro Gomes 6 years ago
parent
commit
6e54a7ae05
1 changed files with 4 additions and 4 deletions
  1. 4 4
      docs/sources/installation/debian.md

+ 4 - 4
docs/sources/installation/debian.md

@@ -41,16 +41,16 @@ sudo dpkg -i grafana_5.4.2_amd64.deb
 
 ## 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
-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.
 
 ```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.
@@ -169,4 +169,4 @@ binary and the `public` folder is located).
 ## Logging in for the first time
 
 To run Grafana open your browser and go to http://localhost:3000/. 3000 is the default http port that Grafana listens to if you haven't [configured a different port](/installation/configuration/#http-port).
-Then follow the instructions [here](/guides/getting_started/).
+Then follow the instructions [here](/guides/getting_started/).