How to install CUDA in Ubuntu Core run on Jetson Nano

I am using ubuntu core on jetson nano, How can I install NVCC above it
I installed ubuntu core according to the link below:

It looks like nvcc is a development tool - it is possible to include it in a snap indeed, but probably you will be more comfortable developing on an Ubuntu desktop system and then deploying to Ubuntu Core.


I run jetson-nano-x11 application on ubuntu and install snap on jetson-nano but when running, there is not enough library error, how can I fix this error?
marchingCubes: error while loading shared libraries: cannot open shared object file: No such file or directory

are you installing it on Ubuntu Core?