鱼香ros一键安装22.04
时间: 2023-08-22 12:07:43 浏览: 249
您可以使用以下步骤来在Ubuntu 22.04上使用鱼香ROS进行一键安装:
1. 首先,打开终端并输入以下命令来修改编码格式为UTF-8:
```
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
```
2. 接下来,输入以下命令以添加ROS2的GPG密钥:
```
sudo apt update && sudo apt install curl -y
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
```
3. 添加ROS2的软件源,输入以下命令:
```
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg http://packages.ros.org/ros2/ubuntu $(source /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null
#### 引用[.reference_title]
- *1* *3* [ubuntu22.04安装ROS2](https://blog.csdn.net/weixin_45682654/article/details/130354337)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [Ubuntu22.04安装ros(一键搞定)](https://blog.csdn.net/m0_64346597/article/details/126526791)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文