Jetson Xavier AGX/NX Jetpack4.5 安装Deepstream5.1

官方教程

  • https://docs.nvidia.com/metropolis/deepstream/5.1/dev-guide/text/DS_Quickstart.html#jetson-setup
  • 知乎安装cuda说明:https://zhuanlan.zhihu.com/p/497391361

安装依赖包

sudo apt install \
libssl1.0.0 \
libgstreamer1.0-0 \
gstreamer1.0-tools \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-ugly \
gstreamer1.0-libav \
libgstrtspserver-1.0-0 \
libgstrtspserver-1.0-dev \
libjson-glib-dev \
libjansson4=2.11-1

安装 librdkafka

$ git clone https://github.com/edenhill/librdkafka.git
$ cd librdkafka
$ git reset --hard 7101c2310341ab3f4675fc565f64f0967e135a6a
./configure
$ make
$ sudo make install

$ sudo mkdir -p /opt/nvidia/deepstream/deepstream-5.1/lib
$ sudo cp /usr/local/lib/librdkafka* /opt/nvidia/deepstream/deepstream-5.1/lib

使用deb包安装deepstream

Deepstream5.1下载地址:https://developer.nvidia.com/embedded/deepstream-on-jetson-downloads-archived

apt-get install libgstrtspserver-1.0-0 libgstreamer-plugins-base1.0-dev -y
apt-get install ./deepstream-5.1_5.1.0-1_arm64.deb

安装deepstrem时会出现下面的错误,升级libnvvpi1就行。

deepstream-5.1 : Depends: libnvvpi1 (>= 1.0.13) but it is not installable

添加源vim /etc/apt/sources.list.d/nvidia-l4t-apt-source.list

deb https://repo.download.nvidia.com/jetson/common  main
deb https://repo.download.nvidia.com/jetson/  main

其中:

  • 是要升级到的次要版本的版本号。
  • 标识平台的处理器:
    • t186 用于 Jetson TX2 系列
    • t194 for Jetson AGX Xavier 系列或 Jetson Xavier NX
    • t210 用于 Jetson Nano 设备或 Jetson TX1

本文使用的升级源:

deb https://repo.download.nvidia.com/jetson/common r32.5 main
deb https://repo.download.nvidia.com/jetson/t194 r32.5 main

升级命令如下

apt install libnvvpi1

升级完成之后,再次执行apt-get install ./deepstream-5.1_5.1.0-1_arm64.deb即可正确安装。

Jetpack升级

  • https://docs.nvidia.com/jetson/jetpack/install-jetpack/index.html#package-management-tool
  • https://blog.csdn.net/qq_43797817/article/details/123230077

你可能感兴趣的:(Jetson Xavier AGX/NX Jetpack4.5 安装Deepstream5.1)