Problem with Installing Nvidia Driver in Debian jessie with Titan Xp

I have Nvidia Titan xP in my system. When i am trying to install the driver using the command:

./ --kernel-source-path /usr/src/linux-headers-3.16.0-4-common

I am getting this error.

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

nvidia-installer command line:

Unable to load: nvidia-installer ncurses v6 user interface

Using: nvidia-installer ncurses user interface
-> Detected 32 CPUs online; setting concurrency level to 32.
-> License accepted.
-> Installing NVIDIA driver version 381.09.
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Using the kernel source path ‘/usr/src/linux-headers-3.16.0-4-common’ as specified by the ‘–kernel-source-path’ commandline option.
ERROR: Neither the ‘/usr/src/linux-headers-3.16.0-4-common/include/linux/version.h’ nor the ‘/usr/src/linux-headers-3.16.0-4-common/include/generated/uapi/linux/versi
on.h’ kernel header file exists. The most likely reason for this is that the kernel source files in ‘/usr/src/linux-headers-3.16.0-4-common’ have not been configured[/b]
ERROR: Installation has failed. Please see the file ‘/var/log/nvidia-installer.log’ for details. You may find suggestions on fixing installation problems in the REA
DME available on the Linux driver download page at

You should never use NVIDIA Linux drivers directly from NVIDIA unless you’re an experienced Linux user.