Skip to content

Commit a864c81

Browse files
author
guyplusplus
committed
Allign use of apt
1 parent 40af81d commit a864c81

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ $ sudo apt install openjdk-11-jre-headless
3434
```
3535
$ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
3636
$ echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic.list
37-
$ sudo apt-get update
38-
$ sudo apt-get install elasticsearch
39-
$ sudo apt-get install kibana
37+
$ sudo apt update
38+
$ sudo apt install elasticsearch
39+
$ sudo apt install kibana
4040
```
4141

4242
For testing purpose, it may be required to install a specific (not latest) version of kibana or ElasticSearch.
4343

4444
```
45-
$ sudo apt-get remove kibana [for latest version]
46-
$ sudo apt-get install kibana=7.6.2 [for a specific version]
45+
$ sudo apt remove kibana [for latest version]
46+
$ sudo apt install kibana=7.6.2 [for a specific version]
4747
```
4848

4949
3. Adjust listening IP address of kibana if network access is required
@@ -66,7 +66,7 @@ $ sudo systemctl start kibana
6666
```
6767
$ curl https://raw.githubusercontent.com/creationix/nvm/v0.25.0/install.sh | bash
6868
$ nvm install 10.18.0
69-
$ sudo apt-get install git
69+
$ sudo apt install git
7070
$ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
7171
$ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
7272
$ sudo apt update

0 commit comments

Comments
 (0)