NVIDIA Jetson 开发常用命令

1. jetpack开发套件安装:

sudo apt update
sudo apt install nvidia-jetpack

官网安装更新介绍:

1.3. Package Management Tool
#NVIDIA offers JetPack components as Debian packages. The Debian package management server can be accessed at https://repo.download.nvidia.com/jetson/.

1.3.1. Install JetPack Components on Jetson Linux
#Assuming your Jetson developer kit has been flashed with and is running L4T 35.1, the following commands will install all other JetPack components that correspond to your version of Jetson Linux L4T:

sudo apt update
sudo apt install nvidia-jetpack
#To view individual Debian packages which are part of nvidia-jetpack metapackage, enter the command:

sudo apt show nvidia-jetpack
#Refer to the NVIDIA Jetson Linux Developer Guide for details about L4T specific Debian packages.

#If disk space is limited, use these commands:

sudo apt update
apt depends nvidia-jetpack | awk '{print $2}' | xargs -I {} sudo apt install -y {}
1.3.2. Upgrade JetPack
#To upgrade from JetPack 5.0/5.0.1 Developer Preview, first edit etc/apt/sources.list.d/nvidia-l4t-apt-source.list to point to the 35.1 repo (just change the version to r35.1 in both lines). Next, use the following commands, then physically reboot the system:

sudo apt update
sudo apt dist-upgrade
sudo apt install --fix-broken -o Dpkg::Options::="--force-overwrite"
#The last line is required because in the JetPack 5.0.2 release, the cuda-nvprof-11-4 package was renamed.

2. jtop安装

https://blog.csdn.net/tanmx219/article/details/126569066
sudo -H pip install -U jetson-stats

3. 其他常用指令

基础信息:jetson_release
监控信息 先安装:sudo -H pip3 install jetson-stats
查看状态:sudo jtop
查询系统版本: cat /etc/lsb-release
查询内核心版本:uname -a
CPU概况:lscpu
硬盘概况:sudo parted -l
存档空间概况:df -h
查看运行进程:top
cuda版本:nvcc -V

你可能感兴趣的:(深度学习,深度学习)