/usr/local/cuda-10.2
/usr/local/cuda-11.0
Typically, package installers set the paths to whatever the last version was installed. If the package build fails because it can't find the right CUDA version (despite it being installed system-wide already), then you need to configure the PATH and LD_LIBRARY_PATH environment variables to point to the correct path.
Take a look at the contents of these environment variables first: