TX2安装 ROS (tx2 ubantu18.04)
修改ubuntu /etc/opt/source.list
中科大源 https://mirrors.ustc.edu.cn/
-
配置软件源
-
TX2 arm64 ports
-
ubuntu18.04 bionic
#默认注释了源码仓库,如有需要可自行取消注释
deb https://mirrors.ustc.edu.cn/ubuntu-ports/ bionic main restricted universe multiverse
#deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ xenial main main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-updates main restricted universe multiverse
#deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-backports main restricted universe multiverse
#deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-security main restricted universe multiverse
#deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-security main restricted universe multiverse
#预发布软件源,不建议启用
#deb https://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-proposed main restricted universe multiverse
#deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-proposed main restricted universe multiverse -
更新索引以生效 sudo apt-get update;
-
ROS 源使用帮助
-
wiki中操作http://wiki.ros.org/cn/melodic/Installation/Ubuntu
-
注意
可能需要使用 sudo apt-get update --fix-missing -
sudo rosdep init
1、打开Ubuntu终端,输入:
sudo vim /etc/hosts
2、在之中添加:
199.232.68.133 raw.githubusercontent.com
保存之后再继续执行sudo rosdep init就行了。