JepPack 4.4 安装到NX 后,剩余空间只有几百兆,完全不足,如下教程可分步骤单独安装SDK Packages,下载对应JetPack SDK 版本(本人百度网盘有共享:链接:https://pan.baidu.com/s/1XqLujhw5dc423WBGJsXcgg --- 提取码:x7ck)
1. CUDA-10.2安装
$sudo dpkg -i /opt/nvidia/deb_repos/cuda-repo-l4t-10-2-local-10.2.89_1.0-1_arm64.deb
#安装完成会提示pub key, 根据提示添加apt key(.pub),例如:
$sudo apt-key add /var/cuda-repo-10-2-local-10.2.89/7fa2af80.pub
$sudo apt-get -y update
$sudo apt-get -y install cuda-toolkit-10-0
2. cuDNN-8.0安装
$sudo dpkg -i libcudnn8_8.0.0.180-1+cuda10.2_arm64.deb
$sudo dpkg -i libcudnn8-dev_8.0.0.180-1+cuda10.2_arm64.deb
$sudo dpkg -i libcudnn8-doc_8.0.0.180-1+cuda10.2_arm64.deb
$sudo apt-get -y update
安装CUDA和cuDNN 后, 剩余空间约2.8GB
3. TensorRT-7.13安装
$sudo dpkg -i libnvinfer7_7.1.3-1+cuda10.2_arm64.deb
$sudo dpkg -i libnvinfer-dev_7.1.3-1+cuda10.2_arm64.deb
$sudo dpkg -i libnvinfer-plugin7_7.1.3-1+cuda10.2_arm64.deb
$sudo dpkg -i libnvinfer-plugin-dev_7.1.3-1+cuda10.2_arm64.deb
$sudo dpkg -i libnvonnxparsers7_7.1.3-1+cuda10.2_arm64.deb
$sudo dpkg -i libnvonnxparsers-dev_7.1.3-1+cuda10.2_arm64.deb
$sudo dpkg -i libnvparsers7_7.1.3-1+cuda10.2_arm64.deb
$sudo dpkg -i libnvparsers-dev_7.1.3-1+cuda10.2_arm64.deb
$sudo dpkg -i libnvinfer-bin_7.1.3-1+cuda10.2_arm64.deb
$sudo dpkg -i libnvinfer-doc_7.1.3-1+cuda10.2_all.deb
$sudo dpkg -i libnvinfer-samples_7.1.3-1+cuda10.2_all.deb
$sudo dpkg -i tensorrt_7.1.3.0-1+cuda10.2_arm64.deb
$sudo dpkg -i python-libnvinfer_7.1.3-1+cuda10.2_arm64.deb
$sudo dpkg -i python-libnvinfer-dev_7.1.3-1+cuda10.2_arm64.deb
$sudo dpkg -i python3-libnvinfer_7.1.3-1+cuda10.2_arm64.deb
$sudo dpkg -i python3-libnvinfer-dev_7.1.3-1+cuda10.2_arm64.deb
$sudo dpkg -i graphsurgeon-tf_7.1.3-1+cuda10.2_arm64.deb
$sudo dpkg -i uff-converter-tf_7.1.3-1+cuda10.2_arm64.deb
$sudo apt-get -y update
附录:
安装完成,第一件事把初次安装的镜像备份出来,参考连接:
Jetson个平台系统升级命令合集
网友评论