怎樣在Ubuntu上安裝NVIDIA346.35
NVIDIA 346.35, the first stable release of the 346.xx series driver, has been released with new features, improvements, and numerous bug fixes.
NVIDIA346.35是第一個穩定發布的346.xx系列驅動,具有很多新特點、新的改進,并修復了很多漏洞。
Instead of NVIDIA 340.xx series, the new driver becomes the Latest Long Lived Branch version of NVIDIA Linux drivers.
它替換NVIDIA 340.xx系列成為了N卡linux驅動里存在時間最長的分支版本。
Before the xorg-edgers PPA updates for this driver, you can download & install the official NVIDIA package by following below steps:
在xorg-edgers PPA升級此驅動之前,你可以按照以下步驟下載安裝NVIDIA離線包:
1. Select download the official installer from links below:
1.通過下面的鏈接選擇下載離線安裝程序:
32-bit Linux | 64-bit Linux | 32-bit ARM Linux
32-bit or 64-bit? 32位還是64位?
Check your OS type by going to top-right corner shutdown menu (gear button) and clicking ‘About This Computer’
在你系統右上角關機目錄找到并點擊“關于此電腦”來檢查你的系統的類型。
2. To be able to install the new driver, you have to remove the previous driver by running below command in a terminal window (Open terminal from the Dash or by pressing Ctrl+Alt+T on keyboard):
2.為了安裝新的驅動,你必須在終端里運行下面的命令來移出老版本的驅動(從dash上或者在鍵盤上按Ctrl+Alt+T來打開終端)
3. You should also blacklist the open source nouveau driver by running below command to edit the config file:
你還需要運行下面的命令來編輯配置文件把開源的nouveau驅動加入黑名單。
Add below lines to the end and click save.
在最后一行的末尾加入并且點擊保存。
4. You can also disable the Kernel Nouveau by running below commands one by one:
你也可以一條一條的運行下面的命令來禁止nouveau的核心。
5. Finally reboot your computer and when you’re at the login prompt press Ctrl+Alt+F1(or F2 ~ F6) to switch to command console. Login with your username and password.
最后重啟你的電腦,然后在登陸的時候快速的按Ctrl+Alt+F1(或者F2到F6)轉換到命令控制臺。用你的賬號密碼登陸。
6. When you’re at the black & white text console, the graphics session is still there and you can switch back by pressing Ctrl+Alt+F7. You have to kill the graphics session by running below command:
當你在黑白的文本控制臺下按ctrl+alt+f7仍然可以切換回圖形會話。你必須運行下面的命令來結束圖形會話
Replace lightdm with gdm, mdm, or kdm for GNOME, Linux Mint, or KUbuntu.
GNOME、 Linux Mint 或者 KUbuntu下,你需要用gdm、mdm或者kdm來替換lightdm
7. At last give permission to the downloaded package and run it:
最后,給你下載的安裝包權限并且運行它:
Follow the on screen prompts and when everything’s done reboot your computer. In next boot after log in, run sudo nvidia-xconfig to save your new nvidia configuration.
根據屏幕提示進行,當所有的都完成后重啟你的電腦。在下一次啟動登陸后,運行sudo nvidia-xconfig來保存你的新n卡設置。
(Optional) To remove the driver, re-do step 5 & 6 and run:
重復第五第六步并運行下面的命令來卸載驅動:
Also undo the step 3 & 4 by removing the
還需要刪除下面的內容來撤銷第三第四步。
Good luck!祝你好運!