CentOS 7 Geforce 9800GT Nvidia driver 340.106 Installation Error

Hello! Please help me :)
I’ve got ERROR: Installation has failed.
Commands that I used
# yum update
# reboot
# yum install kernel-devel-(uname -r) gcc[/i] Blacklist nouveau driver [i] # echo 'blacklist nouveau' >> /etc/modprobe.d/blacklist.conf # dracut /boot/initramfs-(uname -r).img $(uname -r) --force
# systemctl disable gdm
# reboot

then moved in the download folder as root in console
and ran
# bash NVIDIA-Linux-x86_64-340.106.run
Verifying archive integrity… OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64-340.106…
After installer launches I accepted agreement and got error.
Log file and snapshot attached
log
http://rgho.st/74ZGY5z4m
snapshot
http://rgho.st/6BkWy7vjL

I am sorry if i created topic at the wrong support section. I am novice here.

See this:
https://devtalk.nvidia.com/default/topic/1032147/?comment=5251034

thank you it really works!
i downloaded patches that user Chemal provided
then i used the -x option to extract installer to a directory
and after:
cd into the created directory, then
copy the patches into the ‘kernel’ subdirectory,
cd kernel
patch <fix_config.txt
patch <fix_wrapper.txt
cd …
./nvidia-installer

result
http://rgho.st/private/8s8WjBg4g/bc18eed3ccb3b55a413102e46cf387b0

i am also following the same steps as @karitrust1 i am pretty new to linux and trying to install the nvidia first time in centos7 and having same issue. If anyone can assist me with details as i am a basic user for now.

As an end user you shouldn’t run nvidia’s installer at all. Elrepo has packaged the nvidia drivers as rpms. These packages take care of everything, do not overwrite any files, and survive kernel updates. Find them here: https://elrepo.org/tiki/kmod-nvidia-340xx. You are strongly encouraged to use the elrepo packages and to avoid nvidia’s installer like the plague.