*) # sh NVIDIA-Linux-x86-1.0-4620-pkg1.run --extract-only # cd NVIDIA-Linux-x86-1.0-4620-pkg1 # tar zxf ../NVIDIA-Linux-x86-1.0-4620-pkg#.tar.gz # cd usr/src/nv # patch -p1 < ../../../../NVIDIA_kernel-1.0-4620-2.6.diff # ln -s Makefile.kbuild Makefile # cd ../../../.. # NVIDIA-Linux-x86-1.0-4620-pkg1/nvidia-installer
也可以建立.run 文件同时运行
# sh NVIDIA-Linux-x86-1.0-4620-pkg0/usr/bin/makeself.sh \ --target-os Linux --target-arch x86 \ NVIDIA-Linux-x86-1.0-4620-pkg1 \ NVIDIA-Linux-x86-1.0-4620-pkg1.run \ "NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-4620" \ ./nvidia-installer # sh NVIDIA-Linux-x86-1.0-4620-pkg1.run