Install ros2 on archlinux [closed]

asked 2021-06-07 23:48:04 -0500

anonymous user

Anonymous

I am new here, and I just want to install ROS2 on archlinux :(

I just follow the steps of Archlinux Wiki

But I met a few problems

Sorry, I can't up load pictures.

I executed the command below $ cd ~/ros2_ws $ sudo mkdir /opt/ros2 $ sudo chown $USER /opt/ros2 $ colcon build --merge-install --install-base /opt/ros2/foxy

and

$source /opt/ros2/foxy/setup.sh

When I executed "$ros2 -h", the zsh shell told that

zsh: command not found: ros2

this is the directory "/opt/ros2/foxy/ "where i installed ros2

 .

├── COLCON_IGNORE

├── local_setup.sh

├── _local_setup_util_sh.py

└── setup.sh

Questions:

1.Why “ros2 not found”?

2.In “/opt/ros2/foxy”, why there is no file like “setup.zsh”, “setup.bash”, instead of “setup.sh”?

Thanks a lot!

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2022-11-22 12:08:05.571927