首页 > 系统相关 >ubuntu22 安装ROS 解决公钥问题和源问题

ubuntu22 安装ROS 解决公钥问题和源问题

时间:2024-03-19 15:47:17浏览次数:17  
标签:githubusercontent 公钥 sudo apt en 和源 ubuntu22 ros com

最近在做路径规划的东西,装这个ROS太费劲了,记录一下

#设定环境
sudo apt update && sudo apt install locales
sudo locale-gen en_US en_US.UTF-8
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
export LANG=en_US.UTF-8
sudo apt install software-properties-common
sudo add-apt-repository universe
## 通过检查此命令的输出,确保已启用Ubuntu Universe存储库。
apt-cache policy | grep universe

修改Host文件

199.232.68.133 raw.githubusercontent.com
199.232.68.133 user-images.githubusercontent.com
199.232.68.133 avatars2.githubusercontent.com
199.232.68.133 avatars1.githubusercontent.com

添加公钥

# ROS1
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
# ROS2
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg

添加源

sudo apt update && sudo apt install curl gnupg lsb-release
sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
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

更新

sudo apt update
sudo apt upgrade

安装ROS2

sudo apt install ros-humble-desktop

 

标签:githubusercontent,公钥,sudo,apt,en,和源,ubuntu22,ros,com
From: https://www.cnblogs.com/stux/p/18082781

相关文章

  • ubuntu22.04部署django+uwsgi+nginx上线站点
    系统默认是3.10的python版本,不支持pip,需要先安装pip常用的命令pipinstallsomepackage-ihttps://pypi.doubanio.com/simple/#pip安装使用豆瓣源比较快sudochownubuntu:ubuntu/opt/wwwroot/mysite-R#可更改文件夹对应的用户,避免总是提示无权限被禁止项目默认部署在/o......
  • 基于springboot+vue.js的在线考试系统(附带文章和源代码设计说明文档ppt)
    文章目录前言详细视频演示具体实现截图技术栈后端框架SpringBoot前端框架Vue持久层框架MyBaitsPlus系统测试系统测试目的系统功能测试系统测试结论为什么选择我成功案例代码参考数据库参考源码获取前言......
  • 基于springboot+vue.js的旅游管理系统(附带文章和源代码设计说明文档ppt)
    文章目录前言详细视频演示具体实现截图技术栈后端框架SpringBoot前端框架Vue持久层框架MyBaitsPlus系统测试系统测试目的系统功能测试系统测试结论为什么选择我成功案例代码参考数据库参考源码获取前言......
  • 基于springboot+vue.js的失物招领平台(附带文章和源代码设计说明文档ppt)
    文章目录前言详细视频演示具体实现截图技术栈后端框架SpringBoot前端框架Vue持久层框架MyBaitsPlus系统测试系统测试目的系统功能测试系统测试结论为什么选择我成功案例代码参考数据库参考源码获取前言......
  • Ubuntu22.04设置开机启动
    Ubuntu22.04设置开机启动_ubuntu22.04开机启动-CSDN博客 修改rc-local.servicevim/lib/systemd/system/rc-local.service1添加[Install]WantedBy=multi-user.targetAlias=rc-local.service123sudochmod777/lib/systemd/system/rc-local.service12.新建rc.local脚本sud......
  • 公钥密码学算法类型综述
    作者:网安新生研讨课第一小组采用协议CCBY-NC,原文链接:https://www.cnblogs.com/Multya/p/18072514概念公开密钥密码学(英语:Public-keycryptography)也称非对称式密码学(英语:Asymmetriccryptography)是密码学的一种算法,它需要两个密钥,一个是公开密钥,另一个是私有密钥;公钥用作......
  • php使用openssl生成公钥私钥
    1、确保你的PHP环境已经启用了OpenSSL扩展$config=array("digest_alg"=>"sha1","private_key_bits"=>1024,"private_key_type"=>OPENSSL_KEYTYPE_RSA,"config"=>�......
  • 基于Java+Vue+Mysql的门店管理系统(附配套文档和源码)【毕业设计分享】
          前言:门店管理系统是一个综合性的软件解决方案,旨在帮助门店高效地管理日常运营、提升服务质量、优化资源配置和增强决策能力。以下是您提到的各个管理模块的简要概述:门店管理:门店信息管理:记录门店的基本信息,如门店名称、地址、联系方式、营业时间等。门店布局管......
  • 基于Java+Vue+Mysql的WMS仓库管理系统(附配套文档和源码)【毕业设计分享】
          前言: WMS(WarehouseManagementSystem)仓库管理系统是一个用于优化仓库操作、提高效率和准确性的软件解决方案。以下是针对列出的WMS仓库管理系统的各个部分的简要描述:1.订单管理订单管理是WMS的核心功能之一,涉及处理、跟踪和完成客户订单。这包括:订单录入:......
  • ubuntu22.04国内源
      #aliyundebhttp://mirrors.aliyun.com/ubuntu/jammymainrestricteduniversemultiversedeb-srchttp://mirrors.aliyun.com/ubuntu/jammymainrestricteduniversemultiversedebhttp://mirrors.aliyun.com/ubuntu/jammy-securitymainrestricteduniversemul......