forked from jetsonhacks/bootFromExternalStorage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_jetson_default_packages.sh
executable file
·51 lines (44 loc) · 1.08 KB
/
install_jetson_default_packages.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/bash
# MIT License
# Copyright (c) 2021-23 Jetsonhacks
#
# Run this script on the Jetson after flashing.
# This script installs the additional packages that are on the default SD card image for this JetPack release
#
# First check to see if we're on a Jetson
if [ $(arch) == 'aarch64' ]; then
if [ ! -f /etc/nv_tegra_release ]; then
echo 'This script must be run from on a NVIDIA Jetson'
echo 'This machine does not appear to meet that requirement'
exit
fi
else
echo 'This script must be run from on a NVIDIA Jetson'
echo 'This machine does not appear to meet that requirement'
exit
fi
# Now install the packages
sudo apt update
sudo apt-get install \
nvidia-jetpack \
python3-vpi1 \
python3-libnvinfer-dev \
python2.7-dev \
python-dev \
python-py \
python-attr \
python-funcsigs \
python-pluggy \
python-pytest \
python-six \
uff-converter-tf \
libtbb-dev
# nvidia-jetpack installs these packages:
# nvidia-cuda
# nvidia-opencv
# nvidida-cudnn8
# nvidia-tensorrt
# nvidia-visionworks
# nvidia-container
# nvidia-vpi
# nvidia-l4t-jetson-multimedia-api