Install CUDA Development Toolkit + SDK on Linux (Fedora 12+)

nVidia Linux Documentation NVidia Developer Download page

wget http://developer.download.nvidia.com/compute/cuda/3_2_prod/drivers/devdriver_3.2_linux_32_260.19.26.run
wget http://www.nvidia.com/object/thankyou.html?url=/compute/cuda/3_2_prod/toolkit/cudatoolkit_3.2.16_linux_32_fedora13.run
wget http://developer.download.nvidia.com/compute/cuda/3_2_prod/sdk/gpucomputingsdk_3.2.16_linux.run
yum install -y  kernel-PAE-devel libXmu libXmu-devel freeglut-devel glut 
yum remove xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs xorg-x11-drv-nvidia-devel
init 3
sh devdriver_3.2_linux_32_260.19.26.run -a
init 5
sh cudatoolkit_3.2.16_linux_32_fedora13.run.sh -- auto
cat > /usr/local/etc/profile.d/cuda.sh << 'EOF'
export PATH=/usr/local/cuda/bin/:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib/:$LD_LIBRARY_PATH
EOF
. /usr/local/etc/profile.d/cuda.sh
echo "/usr/local/cuda/lib/" > /etc/ld.so.conf.d/cuda.conf
ldconfig
wget http://developer.download.nvidia.com/compute/cuda/3_2_prod/sdk/gpucomputingsdk_3.2.16_linux.run
sh gpucomputingsdk_3.2.16_linux.run