How do you check/confirm JetPack version on the command line?

I have several SD card image versions and they are too small to label.
Need to quickly know which img version this has been coming from?
Thx+regards

head -n 1 /etc/nv_tegra_release
may help you.

1 Like

Thx MtHiker. No such file or dir /etc/nv_tegra_release

The earlier releases which do not use the apt mechanism for update of the NVIDIA files use the “head -n 1 /etc/nv_tegra_release” method. Once apt is used for update, the nv_tegra_release file goes away. From that point you would use this for finding version:
dpkg -l | grep 'nvidia-l4t-core

The L4T release is what actually gets installed, so that is the correct answer. However, if you want to know which release of JetPack was used to perform that L4T flash, then you can look it up here (you’ll likely need to go here, log in, and click the link again):
https://developer.nvidia.com/embedded/jetpack-archive