Skip to content

Commit adf33db

Browse files
authored
Replace the use of wget by curl in _install docs (#451)
Signed-off-by: Jose Luis Rivero <[email protected]>
1 parent 9a963c5 commit adf33db

16 files changed

+31
-32
lines changed

citadel/install_osx_src.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ All the sources of ignition-citadel are declared in a yaml file. Download
5555
it to the workspace:
5656

5757
```bash
58-
wget https://raw.githubusercontent.com/ignition-tooling/gazebodistro/master/collection-citadel.yaml
58+
curl -O https://raw.githubusercontent.com/ignition-tooling/gazebodistro/master/collection-citadel.yaml
5959
```
6060

6161
Use `vcstool` to automatically retrieve all the Ignition libraries sources from

citadel/install_ubuntu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ First install some necessary tools:
88

99
```bash
1010
sudo apt-get update
11-
sudo apt-get install lsb-release wget gnupg
11+
sudo apt-get install lsb-release gnupg
1212
```
1313

1414
Then install Ignition Citadel:
1515

1616

1717
```bash
1818
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
19-
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
19+
curl https://packages.osrfoundation.org/gazebo.key | sudo apt-key add -
2020
sudo apt-get update
2121
sudo apt-get install ignition-citadel
2222
```

citadel/install_ubuntu_src.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cases where the default option cannot be easily changed.
2424
Install tools needed by this tutorial:
2525

2626
```bash
27-
sudo apt install python3-pip wget lsb-release gnupg curl
27+
sudo apt install python3-pip lsb-release gnupg curl
2828
```
2929

3030
## vcstool and colcon from pip
@@ -90,7 +90,7 @@ All the sources of ignition-citadel are declared in a yaml file. Download
9090
it to the workspace:
9191

9292
```bash
93-
wget https://raw.githubusercontent.com/ignition-tooling/gazebodistro/master/collection-citadel.yaml
93+
curl -O https://raw.githubusercontent.com/ignition-tooling/gazebodistro/master/collection-citadel.yaml
9494
```
9595

9696
Use `vcstool` to automatically retrieve all the Ignition libraries sources from
@@ -112,7 +112,7 @@ Add `packages.osrfoundation.org` to the apt sources list:
112112

113113
```bash
114114
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
115-
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
115+
curl https://packages.osrfoundation.org/gazebo.key | sudo apt-key add -
116116
sudo apt-get update
117117
```
118118

fortress/install_osx_src.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ All the sources of ignition-fortress are declared in a yaml file. Download
5555
it to the workspace:
5656

5757
```bash
58-
wget https://raw.githubusercontent.com/ignition-tooling/gazebodistro/master/collection-fortress.yaml
58+
curl -O https://raw.githubusercontent.com/ignition-tooling/gazebodistro/master/collection-fortress.yaml
5959
```
6060

6161
Use `vcstool` to automatically retrieve all the Ignition libraries sources from

fortress/install_ubuntu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ First install some necessary tools:
88

99
```bash
1010
sudo apt-get update
11-
sudo apt-get install lsb-release wget gnupg
11+
sudo apt-get install lsb-release gnupg
1212
```
1313

1414
Then install Ignition Fortress:
1515

1616

1717
```bash
18-
sudo wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
18+
sudo curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
1919
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null
2020
sudo apt-get update
2121
sudo apt-get install ignition-fortress

fortress/install_ubuntu_src.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cases where the default option cannot be easily changed.
2424
Install tools needed by this tutorial:
2525

2626
```bash
27-
sudo apt install python3-pip wget lsb-release gnupg curl
27+
sudo apt install python3-pip lsb-release gnupg curl
2828
```
2929

3030
## vcstool and colcon from pip
@@ -93,7 +93,7 @@ All the sources of ignition-fortress are declared in a yaml file. Download
9393
it to the workspace:
9494

9595
```bash
96-
wget https://raw.githubusercontent.com/ignition-tooling/gazebodistro/master/collection-fortress.yaml
96+
curl -O https://raw.githubusercontent.com/ignition-tooling/gazebodistro/master/collection-fortress.yaml
9797
```
9898

9999
Use `vcstool` to automatically retrieve all the Ignition libraries sources from
@@ -114,7 +114,7 @@ method to install software dependencies.
114114
Add `packages.osrfoundation.org` to the apt sources list:
115115

116116
```bash
117-
sudo wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
117+
sudo curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
118118
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null
119119
sudo apt-get update
120120
```

garden/install_osx_src.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ All the sources of gazebo-garden are declared in a yaml file. Download
5656
it to the workspace:
5757

5858
```bash
59-
wget https://raw.githubusercontent.com/gazebo-tooling/gazebodistro/master/collection-garden.yaml
59+
curl -O https://raw.githubusercontent.com/gazebo-tooling/gazebodistro/master/collection-garden.yaml
6060
```
6161

6262
Use `vcstool` to automatically retrieve all the Gazebo libraries sources from

garden/install_ubuntu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ First install some necessary tools:
1515

1616
```bash
1717
sudo apt-get update
18-
sudo apt-get install lsb-release wget gnupg
18+
sudo apt-get install lsb-release curl gnupg
1919
```
2020

2121
Then install Gazebo Garden:
2222

2323

2424
```bash
25-
sudo wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
25+
sudo curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
2626
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null
2727
sudo apt-get update
2828
sudo apt-get install gz-garden

garden/install_ubuntu_src.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cases where the default option cannot be easily changed.
2424
Install tools needed by this tutorial:
2525

2626
```bash
27-
sudo apt install python3-pip wget lsb-release gnupg curl
27+
sudo apt install python3-pip lsb-release gnupg curl
2828
```
2929

3030
## vcstool and colcon from pip
@@ -93,7 +93,7 @@ All the sources of gazebo-garden are declared in a yaml file. Download
9393
it to the workspace:
9494

9595
```bash
96-
wget https://raw.githubusercontent.com/gazebo-tooling/gazebodistro/master/collection-garden.yaml
96+
curl -O https://raw.githubusercontent.com/gazebo-tooling/gazebodistro/master/collection-garden.yaml
9797
```
9898

9999
Use `vcstool` to automatically retrieve all the Gazebo libraries sources from
@@ -114,7 +114,7 @@ method to install software dependencies.
114114
Add `packages.osrfoundation.org` to the apt sources list:
115115

116116
```bash
117-
sudo wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
117+
sudo curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
118118
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null
119119
sudo apt-get update
120120
```

harmonic/install_osx_src.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ All the sources of gazebo-harmonic are declared in a yaml file. Download
5555
it to the workspace:
5656

5757
```bash
58-
wget https://raw.githubusercontent.com/gazebo-tooling/gazebodistro/master/collection-harmonic.yaml
58+
curl -O https://raw.githubusercontent.com/gazebo-tooling/gazebodistro/master/collection-harmonic.yaml
5959
```
6060

6161
Use `vcstool` to automatically retrieve all the Gazebo libraries sources from

harmonic/install_ubuntu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ First install some necessary tools:
1515

1616
```bash
1717
sudo apt-get update
18-
sudo apt-get install lsb-release wget gnupg
18+
sudo apt-get install lsb-release gnupg
1919
```
2020

2121
Then install Gazebo Harmonic:
2222

2323

2424
```bash
25-
sudo wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
25+
curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
2626
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null
2727
sudo apt-get update
2828
sudo apt-get install gz-harmonic

harmonic/install_ubuntu_src.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ method to install software dependencies.
114114
Add `packages.osrfoundation.org` to the apt sources list:
115115

116116
```bash
117-
sudo curl https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
117+
sudo curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
118118
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null
119119
sudo apt-get update
120120
```

ionic/install_osx_src.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ All the sources of gazebo-ionic are declared in a yaml file. Download
5555
it to the workspace:
5656

5757
```bash
58-
wget https://raw.githubusercontent.com/gazebo-tooling/gazebodistro/master/collection-ionic.yaml
58+
curl -O https://raw.githubusercontent.com/gazebo-tooling/gazebodistro/master/collection-ionic.yaml
5959
```
6060

6161
Use `vcstool` to automatically retrieve all the Gazebo libraries sources from

ionic/install_ubuntu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ First install some necessary tools:
88

99
```bash
1010
sudo apt-get update
11-
sudo apt-get install lsb-release wget gnupg
11+
sudo apt-get install lsb-release gnupg
1212
```
1313

1414
Then install Gazebo Ionic:
1515

1616

1717
```bash
18-
sudo wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
18+
curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
1919
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null
2020
sudo apt-get update
2121
sudo apt-get install gz-ionic

ionic/install_ubuntu_src.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cases where the default option cannot be easily changed.
2424
Install tools needed by this tutorial:
2525

2626
```bash
27-
sudo apt install python3-pip wget lsb-release gnupg curl
27+
sudo apt install python3-pip lsb-release gnupg curl
2828
```
2929

3030
## vcstool and colcon from pip
@@ -93,7 +93,7 @@ All the sources of gazebo-ionic are declared in a yaml file. Download
9393
it to the workspace:
9494

9595
```bash
96-
wget https://raw.githubusercontent.com/gazebo-tooling/gazebodistro/master/collection-ionic.yaml
96+
curl -O https://raw.githubusercontent.com/gazebo-tooling/gazebodistro/master/collection-ionic.yaml
9797
```
9898

9999
Use `vcstool` to automatically retrieve all the Gazebo libraries sources from
@@ -114,7 +114,7 @@ method to install software dependencies.
114114
Add `packages.osrfoundation.org` to the apt sources list:
115115

116116
```bash
117-
sudo wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
117+
sudo curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
118118
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null
119119
sudo apt-get update
120120
```

tools/scripts/install_common_deps.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,16 @@ sudo apt-get update
1010
sudo apt-get install -y \
1111
gnupg \
1212
lsb-release \
13-
wget
13+
curl
1414

15-
sudo wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
16-
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null
15+
sudo curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
16+
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] https://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null
1717

1818
sudo apt-get update
1919

2020
sudo apt-get install -y \
2121
build-essential \
2222
cmake \
23-
curl \
2423
doxygen \
2524
git \
2625
pkg-config \

0 commit comments

Comments
 (0)