Skip to content

Commit 100faa3

Browse files
authored
Use ROS 2 repo on Jammy, not ROS (#277)
* Use ROS 2 repo on Jammy, not ROS Signed-off-by: Louise Poubel <[email protected]> * sed gz Signed-off-by: Louise Poubel <[email protected]>
1 parent fb11563 commit 100faa3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fortress/install_ubuntu_src.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export PATH=$PATH:$HOME/.local/bin/
6161
An alternative method is to use the `.deb` packages available on Debian or Ubuntu:
6262

6363
```bash
64-
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
64+
sudo sh -c 'echo "deb http://packages.ros.org/ros2/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros2-latest.list'
6565
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
6666
sudo apt-get update
6767
sudo apt-get install python3-vcstool python3-colcon-common-extensions

garden/install_ubuntu_src.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export PATH=$PATH:$HOME/.local/bin/
6161
An alternative method is to use the `.deb` packages available on Debian or Ubuntu:
6262

6363
```bash
64-
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
64+
sudo sh -c 'echo "deb http://packages.ros.org/ros2/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros2-latest.list'
6565
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
6666
sudo apt-get update
6767
sudo apt-get install python3-vcstool python3-colcon-common-extensions
@@ -123,7 +123,7 @@ The command below will install all dependencies in Ubuntu:
123123

124124
```bash
125125
sudo apt -y install \
126-
$(sort -u $(find . -iname 'packages-'`lsb_release -cs`'.apt' -o -iname 'packages.apt' | grep -v '/\.git/') | sed '/gazebo\|sdf/d' | tr '\n' ' ')
126+
$(sort -u $(find . -iname 'packages-'`lsb_release -cs`'.apt' -o -iname 'packages.apt' | grep -v '/\.git/') | sed '/gz\|sdf/d' | tr '\n' ' ')
127127
```
128128

129129
## Building the Gazebo Libraries

0 commit comments

Comments
 (0)