TX2上一般带的是Ubuntu系统,以Ubuntu16.04为例:
不管是在PC端还是TX2上,换源之前先将系统自带的源进行备份:sudo cp -r /etc/apt/sources.list sudo cp -r /etc/apt/sources_beifen.list
Ubuntu系统
这里指的是PC端。跟网上大多数教程一样,找个源(阿里源,清华源等等),推荐用清华源(毕竟是从原网站上拿到的,没有错误),网址是添加链接描述,选择对应的Ubuntu版本就好。
这是PC端的清华源:
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates mai