These scripts take some time so it is advised to run them via a screen session or using a monitor.
The general process to run a script is by first creating a new screen:
screen -S screen_name
Now inside the screen run:
sudo ./runFirst.sh
After that finishes, you can run the install script, for example: (NOTE: Do not run these with sudo
)
./opencv4.9.0_Jetson.sh
Once the script has started you will want to detach from the screen so it can run in the background. You can do that with CTRL-A
and then D
. Make sure to detach before exiting the ssh from the Jetson.
To re-attach to the screen you can do the following:
screen -r screen_name
If you forget the name of the screen you can do the following to list all running screens:
screen -ls
Unless a screen has the same name as another, you don't have to include the preprended numbers when re-attaching.
When the install is finished, you can end the screen by doing CTRL-D
.
Repeat the above process for all the relevant scripts (listed below) in a sequential fashion. Do NOT run these scripts in parallel.
Based off how the scripts install their dependencies, I suggest the following install procedure:
./depthAISetup.sh
./opencv4.x.0_Jetson.sh
(select yes to remove old opencv; near the end it will ask for password again)./rosSetup.sh
./rtspSetup.sh
./mlSetup.sh
(NOT STABLE WITH LATEST JETPACK 6.1 RELEASE)./nomachineSetup.sh
(optional)./teensySetup.sh
(optional)