Install opencv on TX2

I used those code try to install opencv on my TX2
git clone
cd buildOpenCVTX2

But it was said: line 141: cmake: command not found.

Does anyone know what wrong with it? My device just re-fresh with jetpack 4.2.


Hi wsrh2009,

You probably don’t have cmake installed. You could try the following command to install it:

sudo apt-get install build-essential cmake