ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Hi @CarlDegio,

The installation instructions you followed from a pre-built binary package, you downloaded: ~/Downloads/ros2-package-linux-x86_64.tar.bz2, then sourced it by using:

. ~/ros2_foxy/ros2-linux/setup.bash

Therefore your environment is ~/ros2_foxy/ros2-linux

However, when you install ROS2 from apt, this is the procedure to follow: https://docs.ros.org/en/foxy/Installation/Ubuntu-Install-Debians.html

To install you use apt: sudo apt install ros-foxy-desktop

and source to: source /opt/ros/foxy/setup.bash

Then your environment will be set up: /opt/ros/foxy/

I'd suggest to reinstall if possible, otherwise your installation will get messy and hard to track.

Hi @CarlDegio,

The installation instructions you followed from a pre-built binary package, you downloaded: ~/Downloads/ros2-package-linux-x86_64.tar.bz2, then sourced it by using:

. ~/ros2_foxy/ros2-linux/setup.bash~/ros2_foxy/ros2-linux/setup.bash

Therefore your environment is located at~/ros2_foxy/ros2-linux

However, when you install ROS2 from apt, this is the procedure to follow: https://docs.ros.org/en/foxy/Installation/Ubuntu-Install-Debians.html

To install you use using apt: :

sudo apt install ros-foxy-desktopros-foxy-desktop

and source to: to:

source /opt/ros/foxy/setup.bash/opt/ros/foxy/setup.bash

Then your environment will be set up: located at: /opt/ros/foxy/

I'd suggest to reinstall if possible, otherwise your installation will get messy and hard to track.

Hi @CarlDegio,

The installation instructions you followed is in installation from a pre-built binary package, you downloaded: ~/Downloads/ros2-package-linux-x86_64.tar.bz2, then sourced it by using:

. ~/ros2_foxy/ros2-linux/setup.bash

Therefore your environment is located at~/ros2_foxy/ros2-linux

However, when you install ROS2 from apt, this is the procedure to follow: https://docs.ros.org/en/foxy/Installation/Ubuntu-Install-Debians.html

To install you using apt:

sudo apt install ros-foxy-desktop

and source to:

source /opt/ros/foxy/setup.bash

Then your environment will be located at: /opt/ros/foxy/

I'd suggest to reinstall if possible, otherwise your installation will get messy and hard to track.

Hi @CarlDegio,

The installation instructions is in installation are from a pre-built binary package, you downloaded: ~/Downloads/ros2-package-linux-x86_64.tar.bz2, then sourced it by using:

. ~/ros2_foxy/ros2-linux/setup.bash

Therefore your environment is located at~/ros2_foxy/ros2-linux

However, when you install ROS2 from apt, this is the procedure to follow: https://docs.ros.org/en/foxy/Installation/Ubuntu-Install-Debians.html

To install you using apt:

sudo apt install ros-foxy-desktop

and source to:

source /opt/ros/foxy/setup.bash

Then your environment will be located at: /opt/ros/foxy/

I'd suggest to reinstall if possible, otherwise your installation will get messy and hard to track.