-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetupUbuntu1804.sh
65 lines (56 loc) · 1.5 KB
/
setupUbuntu1804.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/bash
# Version sets in respective installation scripts inside ./scripts/
# install jetpack - follow instructions below
# http://docs.nvidia.com/jetpack-l4t/index.html#developertools/mobile/jetpack/l4t/3.2rc/jetpack_l4t_install.htm
# Deselect Jetson target specific entries if only installing on host machine
# Install cudnn7 from https://developer.nvidia.com/rdp/form/cudnn-download-survey
## - save in ~/programs/cuda
######################################################################################
# Installation Control
PREREQ=1
ROS=0
PY2_LIBS=0
PY3_LIBS=1
CUDA=0
CUDNN=1
OPENCV=0
DLIB=0
TORCH=0
OPENFACE=1
PYTORCH=1
YOLO=1
TF=1
ASTRA=1
REALSENSE=1
AWS=1
ARDUINO=0
DESPOT=0
RESPEAKER=1
RPLIDAR=1
export OS_VERSION=18.04
export ROS_VERSION=kinetic
export USE_GPU=1
export INSTALL_PY2=1
export INSTALL_PY3=0
######################################################################################
export INSTALL_PREREQ=$PREREQ
export INSTALL_ROS=$ROS
export INSTALL_PY2_LIBS=$PY2_LIBS
export INSTALL_PY3_LIBS=$PY3_LIBS
export INSTALL_CUDA=$CUDA
export INSTALL_CUDNN=$CUDNN
export INSTALL_OPENCV=$OPENCV
export INSTALL_DLIB=$DLIB
export INSTALL_TORCH=$TORCH
export INSTALL_OPENFACE=$OPENFACE
export INSTALL_PYTORCH=$PYTORCH
export INSTALL_YOLO=$YOLO
export INSTALL_TF=$TF
export INSTALL_ASTRA=$ASTRA
export INSTALL_REALSENSE=$REALSENSE
export INSTALL_AWS=$AWS
export INSTALL_ARDUINO=$ARDUINO
export INSTALL_DESPOT=$DESPOT
export INSTALL_RESPEAKER=$RESPEAKER
export INSTALL_RPLIDAR=$RPLIDAR
./setup.sh