catkin_make: command not found catkin_make: command not found 当我们使用 catkin_make 编译 ros 时,出现了这种错误,可以这样解决 尝试执行以下命令: source /opt/ros/melodic/setup.bash 添加环境变量: echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc source ~/.bashrc