In this config we will install a official Nvidia GeForce driver on Fedora Linux. The system used for this installation is Fedora 21 however, the below config should work for any subsequent Fedora Linux release version. First download the official NVIDIA driver installer from nvidia.com. Your driver version will be different as this depends on your graphic card version eg.:
NVIDIA-Linux-x86_64-346.35.run
Two conditions must be fulfilled before we can start the actual NVIDIA driver installation:
  • nouveau free nvidia driver must be disabled
  • X Server must be disabled
To comply with the both above conditions the below command will disable nouveau nvidia driver:
# dracut --omit-drivers nouveau /boot/initramfs-$(uname -r).img $(uname -r) --force
and to temporarily disable X Server from starting after reboot run:
# systemctl disable gdm
Next, we need to install all required prerequisites for the NVIDIA module compilation such us kernel headers and compiler:
yum install kernel-devel-$(uname -r) gcc
Now, reboot your Fedora desktop.

After reboot GUI will not start so simply login as root using terminal screen and start NVIDIA installer:
# bash NVIDIA-Linux-x86_64-346.35.run
The installer will ask you few questions and will let you to accept "Terms & Coditions". Whe asked:
Would you like to run the nvidia-xconfig utility?
YES
answer yes as this will instruct NVIDIA installer to generate new xorg.conf configuration file. Once the installation is finished you will see:
fedora-linux-nvidia-driver-installation
While still logged in as root we need to enable X server ( GDM ) in order to start X server after the reboot:
# systemctl enable gdm
All finished. Simply reboot your system:
# reboot
And start nvidia-settings using command line:
$ nvidia-settings
or using your start button:
fedora-linux-nvidia-driver-settings
ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in: