今天在一個新的電腦上編譯工作空間,發現使用catkinb init mingling:
報錯:catkin: command not found
參考這篇文章:csdn 也是無法安裝
後面在官網裏找到 :
First you must have the ROS repositories which contain the .deb
for catkin_tools
:
sudo sh \
-c 'echo "deb http://packages.ros.org/ros/ubuntu `lsb_release -sc` main" \
> /etc/apt/sources.list.d/ros-latest.list'
wget http://packages.ros.org/ros.key -O - | sudo apt-key add -
Once you have added that repository, run these commands to install catkin_tools
:
sudo apt-get update
sudo apt-get install python3-catkin-tools
成功安裝了
参考链接:installing catkin