【nvidia jetson xavier】 Linux系统安装+Deepstream 5.1环境部署

简介: 【nvidia jetson xavier】 Linux系统安装+Deepstream 5.1环境部署

作者声明

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

原文链接:https://www.cnblogs.com/phoenixash/p/15410089.html

【nvidia jetson xavier】 Linux系统安装+Deepstream 5.1环境部署

参考Getting Started With Jetson Xavier NX Developer Kit | NVIDIA Developer (https://developer.nvidia.com/embedded/learn/get-started-jetson-xavier-nx-devkit#write)

1.1 Write Image to the microSD Card

To prepare your microSD card, you’ll need a computer with Internet connection and the ability to read and write SD cards, either via a built-in SD card slot or adapter.

(1) Download the Jetson Xavier NX Developer Kit SD Card Image, and note where it was saved on the computer.

(2) Write the image to your microSD card by following the instructions below according to the type of computer you are using: Windows, Mac, or Linux.

****INSTRUCTIONS FOR WINDOWS****

Format your microSD card using SD Memory Card Formatter from the SD Association.

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-X5RLII7P-1634266476676)(file:///C:\Users\phoenix\AppData\Local\Temp\ksohtml3484\wps1.jpg)]

1)Download, install, and launch SD Memory Card Formatter for Windows.

2)Select card drive

3) Select “Quick format”

4) Leave “Volume label” blank

5)Click “Format” to start formatting, and “Yes” on the warning dialog

Use Etcher to write the Jetson Nano Developer Kit SD Card Image to your microSD card

1) Download, install, and launch Etcher.

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-qk8Zuzub-1634266476681)(file:///C:\Users\phoenix\AppData\Local\Temp\ksohtml3484\wps2.jpg)]

2) Click “Select image” and choose the zipped image file downloaded earlier.

3)Insert your microSD card if not already inserted.

Click Cancel (per this explanation) if Windows prompts you with a dialog like this:

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-W1V4sDqw-1634266476686)(file:///C:\Users\phoenix\AppData\Local\Temp\ksohtml3484\wps3.jpg)]

5) Click “Select drive” and choose the correct device.

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-qMrqzgUe-1634266476690)(file:///C:\Users\phoenix\AppData\Local\Temp\ksohtml3484\wps4.jpg)]

5)Click “Flash!” It will take Etcher about 10 minutes to write and validate the image if your microSD card is connected via USB3.

6)After Etcher finishes, Windows may let you know it doesn’t know how to read the SD Card. Just click Cancel and remove the microSD card.

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-X4YHwAPk-1634266476692)(file:///C:\Users\phoenix\AppData\Local\Temp\ksohtml3484\wps5.jpg)]

After your microSD card is ready, proceed to set up your developer kit.

2.1 Deepstream 安装 从2.3开始看

参考Quickstart Guide — DeepStream 5.1 Release documentation (nvidia.com) (https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Quickstart.html#jetson-setup)

1.安装setuptools工具

wget https://soft.itbulu.com/tools/setuptools-0.6c11.tar.gz

tar -xvf setuptools-0.6c11.tar.gz

cd setuptools-0.6c11

Python3 setup.py build

Python3 setup.py install

原文链接:https://blog.csdn.net/t8116189520/article/details/81910484

2.1 Install Dependencies

Enter the following commands to install the prerequisite packages:

$ 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 \

libjansson4=2.11-1

2.2 Install librdkafka (to enable Kafka protocol adaptor for message broker)

\1. Clone the librdkafka repository from GitHub:

\2. $ git clone https://github.com/edenhill/librdkafka.git

\3. Configure and build the library:

\4. $ cd librdkafka

\5. $ git reset --hard 7101c2310341ab3f4675fc565f64f0967e135a6a

\6. ./configure

\7. $ make

\8. $ sudo make install

\9. Copy the generated libraries to the deepstream directory:

\10. $ sudo mkdir -p /opt/nvidia/deepstream/deepstream-5.1/lib

\11. $ sudo cp /usr/local/lib/librdkafka* /opt/nvidia/deepstream/deepstream-5.1/lib

2.3 Install the DeepStream SDK (用method 3)

2.3.1 Method 1: Using SDK Manager

Select DeepStreamSDK from the Additional SDKs section along with JP 4.5.1 software components for installation.

2.3.2 Method 2: Using the DeepStream tar package

\1. Download the DeepStream 5.1 Jetson tar package deepstream_sdk_v5.1.0_jetson.tbz2, to the Jetson device.

\2. Enter the following commands to extract and install the DeepStream SDK:

\3. $ sudo tar -xvf deepstream_sdk_v5.1.0_jetson.tbz2 -C /

\4. $ cd /opt/nvidia/deepstream/deepstream-5.1

\5. $ sudo ./install.sh

\6. $ sudo ldconfig

2.3.3 Method 3: Using the DeepStream Debian package

Download the DeepStream 5.1 Jetson Debian package deepstream-5.1_5.1.0-1_arm64.deb, to the Jetson device. Then enter the command:

$ sudo apt-get install ./deepstream-5.1_5.1.0-1_arm64.deb

2.3.4 Method 4: Using the apt-server

\1. Open the apt source configuration file in a text editor, using a command similar to $ sudo vi /etc/apt/sources.list.d/nvidia-l4t-apt-source.list

\2. Change the repository name and download URL in the deb commands shown below: deb https://repo.download.nvidia.com/jetson/common r32.5 main

\3. Save and close the source configuration file.

\4. Enter the commands:

\5. $ sudo apt update

\6. $ sudo apt install deepstream-5.1

2.3.5 Method 5: Use Docker container DeepStream docker containers are available on NGC. See the Docker Containers section to learn about developing and deploying DeepStream using docker containers.

2.3.6查看deepstream版本

deepstream-app --version-all

AIEarth是一个由众多领域内专家博主共同打造的学术平台,旨在建设一个拥抱智慧未来的学术殿堂!【平台地址:https://devpress.csdn.net/aiearth】 很高兴认识你!加入我们共同进步!

目录
相关文章
|
20天前
|
Ubuntu Linux Shell
(已解决)Linux环境—bash: wget: command not found; Docker pull报错Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled
(已成功解决)Linux环境报错—bash: wget: command not found;常见Linux发行版本,Linux中yum、rpm、apt-get、wget的区别;Docker pull报错Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled
221 68
(已解决)Linux环境—bash: wget: command not found; Docker pull报错Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled
|
17天前
|
消息中间件 Java Kafka
【手把手教你Linux环境下快速搭建Kafka集群】内含脚本分发教程,实现一键部署多个Kafka节点
本文介绍了Kafka集群的搭建过程,涵盖从虚拟机安装到集群测试的详细步骤。首先规划了集群架构,包括三台Kafka Broker节点,并说明了分布式环境下的服务进程配置。接着,通过VMware导入模板机并克隆出三台虚拟机(kafka-broker1、kafka-broker2、kafka-broker3),分别设置IP地址和主机名。随后,依次安装JDK、ZooKeeper和Kafka,并配置相应的环境变量与启动脚本,确保各组件能正常运行。最后,通过编写启停脚本简化集群的操作流程,并对集群进行测试,验证其功能完整性。整个过程强调了自动化脚本的应用,提高了部署效率。
【手把手教你Linux环境下快速搭建Kafka集群】内含脚本分发教程,实现一键部署多个Kafka节点
|
16天前
|
Ubuntu 网络协议 Linux
快速部署WSL(Windows Subsystem for Linux)
WSL提供了一种轻量级的方法,使开发者能够在Windows上无缝运行Linux环境。通过本文介绍的步骤,可以快速安装、配置和使用WSL,以满足开发和测试的需求。
65 8
|
3月前
|
搜索推荐 Linux 测试技术
Linux系统之部署homer静态主页
【10月更文挑战第11天】Linux系统之部署homer静态主页
92 41
Linux系统之部署homer静态主页
|
2月前
|
缓存 Ubuntu Linux
Linux环境下测试服务器的DDR5内存性能
通过使用 `memtester`和 `sysbench`等工具,可以有效地测试Linux环境下服务器的DDR5内存性能。这些工具不仅可以评估内存的读写速度,还可以检测内存中的潜在问题,帮助确保系统的稳定性和性能。通过合理配置和使用这些工具,系统管理员可以深入了解服务器内存的性能状况,为系统优化提供数据支持。
55 4
|
3月前
|
Web App开发 搜索推荐 Unix
Linux系统之MobaXterm远程连接centos的GNOME桌面环境
【10月更文挑战第21天】Linux系统之MobaXterm远程连接centos的GNOME桌面环境
662 4
Linux系统之MobaXterm远程连接centos的GNOME桌面环境
|
3月前
|
运维 监控 Linux
Linux系统之部署Linux管理面板1Panel
【10月更文挑战第20天】Linux系统之部署Linux管理面板1Panel
183 3
Linux系统之部署Linux管理面板1Panel
|
2月前
|
关系型数据库 MySQL Linux
Linux环境下MySQL数据库自动定时备份实践
数据库备份是确保数据安全的重要措施。在Linux环境下,实现MySQL数据库的自动定时备份可以通过多种方式完成。本文将介绍如何使用`cron`定时任务和`mysqldump`工具来实现MySQL数据库的每日自动备份。
165 3
|
2月前
|
监控 关系型数据库 MySQL
Linux环境下MySQL数据库自动定时备份策略
在Linux环境下,MySQL数据库的自动定时备份是确保数据安全和可靠性的重要措施。通过设置定时任务,我们可以每天自动执行数据库备份,从而减少人为错误和提高数据恢复的效率。本文将详细介绍如何在Linux下实现MySQL数据库的自动定时备份。
78 3
|
2月前
|
消息中间件 Linux RocketMQ
在Red Hat Enterprise Linux 9上使用Docker快速安装并部署
通过以上步骤,你可以在Red Hat Enterprise Linux 9上使用Docker快速安装并部署RocketMQ。这种方法不仅简化了安装过程,还提供了一个灵活的环境来管理和扩展消息队列系统。RocketMQ作为一款高性能的分布式消息系统,通过Docker可以实现快速部署和高效管理。
89 2