Skip to content

Commit

Permalink
Fix potential sudo error for users installing on ubuntu. (#476)
Browse files Browse the repository at this point in the history
Makes documentation now match garden and fortress for installing
binaries.
https://discord.com/channels/1077825543698927656/1080763334384697430/1269851345477701654

Signed-off-by: Benjamin Perseghetti <[email protected]>
  • Loading branch information
bperseghetti authored Aug 5, 2024
1 parent dacdcb6 commit 36db5d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion harmonic/install_ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Then install Gazebo Harmonic:


```bash
curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
sudo curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
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
sudo apt-get update
sudo apt-get install gz-harmonic
Expand Down
2 changes: 1 addition & 1 deletion ionic/install_ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Then install Gazebo Ionic:


```bash
curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
sudo curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
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
sudo apt-get update
sudo apt-get install gz-ionic
Expand Down

0 comments on commit 36db5d3

Please sign in to comment.