Ubuntu13.04 was stolen before CUDA5.0 was installed. Recently I bought a new notebook with Win8 pre-installed. However, I still have some work that requires support from win7 and ubuntu, so I bought win7, besides, Windows 7 and win8 are installed in efi mode, but I am bored with ubuntu installation. I cannot install it for you anyway! Later, I saw the latest beta version of 13.04, and I started the experiment and installed the result. Windows 7 and win8 cannot be found only when ubuntu is started. You can only press F12 or F2 to start it through bios modification. In any case, I can use Linux and Windows. I want to install CUDA5.0. I don't want to use the self-contained driver in CUDA5.0 in Ubuntu, So I downloaded the latest driver on the official website (www.nvidia.com. 1. The installation of the driver is still the old method. To avoid jump to the children's shoes, I will write it. Do not log on after boot. press ALT + CTRL + F1 and follow the prompts to log on to unbutu. Run the following commands in sequence: [html] user @ server :~ $ Sudo service lightdm stop .. user @ server :~ $ Chmod a + x./driver. run user @ server :~ $ Sudo./driver. run user @ server :~ $ Sudo service lightdm start can now log on to ubuntu using the graphical interface. 2. Install CUDA5.0 and run the following command: [html] user @ server :~ $ Chmod a + x. /cuda-5.0.run first do not install CUDA, you can not install, there will be two problems bother you, one is the compiler version is too high does not support, the other is the lack of a library. Therefore, you must first install the G ++ and GCC compilers of the low version, such as 4.6. Then, create a link file for gcc and g ++. [Html] mv gcc. back mv x86_64-linux-gnu-gcc x86_64-linux-gnu-gcc.back ln-s gcc-4.6 gcc ln-s gcc-4.6 x86_64-linux-gnu-gcc mv gfortran. back mv x86_64-linux-gnu-gfortran x86_64-linux-gnu-gfortran.back ln-s gfortran-4.6 gfortran ln-s gfortran-4.6 x86_64-linux-gnu-gfortran first use locate to find the default library, and then create a link file to put it in/usr/lib, installed .. Go to make in sample.