Howto's for building, making, and installing packages for jetpack. Currently this howto assumes you have Jetpack 4.6.1 installed. This may work with other versions. However you will have to sort your own dependency issues that pop up.
Recomended that you upgrade cmake before installing python, You will need CMake 3.23.1 if you later need to install onnxruntime-gpu
Install python 3.9.12 or other python version with altinstall
This will show you how to altinstall a python version, so to not replace your default Python3 that came with jetpack.
Install openCV 4.5.5 or other openCV version
This will show you how to install openCV to a altinstall of python.
Install PyTorch 1.9.0 or other PyTorch version
This will show you how to install PyTorch and Torchvision to a altinstall of python.