[jetson]jetpack5.0.2的ubuntu20.04更换为清华源
Posted FL1623863129
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[jetson]jetpack5.0.2的ubuntu20.04更换为清华源相关的知识,希望对你有一定的参考价值。
测试环境:
Software part of jetson-stats 4.1.5 - (c) 2023, Raffaello Bonghi
Model: NVIDIA Jetson Xavier NX Developer Kit - Jetpack 5.0.2 GA [L4T 35.1.0]
NV Power Mode: MODE_20W_6CORE - Type: 8
jtop:
- Version: 4.1.5
- Service: Active
Libraries:
- CUDA: 11.4.239
- cuDNN: 8.4.1.50
- TensorRT: 8.4.1.5
- VPI: 2.1.6
- Vulkan: 1.3.203
- OpenCV: 4.5.4 - with CUDA: NO
jetson更换成清华源,也可以更换成阿里源/中科大等常用源,注意jepack5.02对于的是ubuntu20.04版本所以是focal而不是bionic(对应ubuntu18.04)。其中为了安装旧的libpng12需要加入xenial (ubuntu16.04)的源
备份文件:
sudo cp /etc/apt/source.list /etc/apt/source.list.bak
加入清华源:
sudo vi /etc/apt/source.list
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal-updates main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal-updates main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal-security main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal-security main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal-backports main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal main universe restricted
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ focal main universe restricted
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial main multiverse restricted universe
保存后:
sudo apt update
sudo apt upgrade
以上是关于[jetson]jetpack5.0.2的ubuntu20.04更换为清华源的主要内容,如果未能解决你的问题,请参考以下文章