Cuda Device not Detected

I am trying to install Cuda on my ubunutu 18.04 using package installer. It is not detecting my cuda device when i run /DeviceQuery after installation