openEuler安装ROS2 humble

支持的系统:openEuler 22.03 LTS SP2
安装步骤:
1、安装ROS源:
yum install openeuler-ros

2、更新yum源:
yum update

3、安装自己需要的ROS包:
yum install ros-humble-ros-core
注意:软件包名称同ubuntu系统。

2 个赞

rosdep update
ERROR: Rosdep experienced an error: Could not detect OS, tried [‘zorin’, ‘windows’, ‘nixos’, ‘clearlinux’, ‘ubuntu’, ‘slackware’, ‘rocky’, ‘rhel’, ‘raspbian’, ‘qnx’, ‘pop’, ‘osx’, ‘sailfishos’, ‘tizen’, ‘conda’, ‘oracle’, ‘opensuse’, ‘opensuse’, ‘opensuse’, ‘opensuse’, ‘opensuse’, ‘openembedded’, ‘neon’, ‘mx’, ‘mint’, ‘linaro’, ‘gentoo’, ‘funtoo’, ‘freebsd’, ‘fedora’, ‘elementary’, ‘elementary’, ‘debian’, ‘cygwin’, ‘euleros’, ‘centos’, ‘manjaro’, ‘buildroot’, ‘arch’, ‘amazon’, ‘alpine’, ‘almalinux’]
无法匹配openEuler去完成依赖关系缓存 :sob:

1 个赞

export ROS_OS_OVERRIDE=centos:8

1 个赞

什么场景下需要执行这个命令?

rosdep update用于更新缓存软件包依赖关系,后续解决ros软件包依赖也常用rosdep install

是自己手动编译一个不支持的ros软件包需要吗?
理论上如果我们移植了一个版本的所有软件包,那直接yum install ros-humble-xxx就可以安装需要的软件包,并且会自动将依赖的软件包下载并安装

1 个赞