$ sudo apt-get install linux-headers-generic [sudo] password for moma: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: dkms python-xkit screen-resolution-extra Use 'apt-get autoremove' to remove them. The following extra packages will be installed: linux-headers-3.5.0-17-generic The following NEW packages will be installed: linux-headers-3.5.0-17-generic linux-headers-generic 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 948 kB of archives. After this operation, 11.2 MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://pt.archive.ubuntu.com/ubuntu/ quantal/main linux-headers-3.5.0-17-generic amd64 3.5.0-17.28 [946 kB] Get:2 http://pt.archive.ubuntu.com/ubuntu/ quantal/main linux-headers-generic amd64 3.5.0.17.19 [2,368 B] Fetched 948 kB in 5s (162 kB/s) Selecting previously unselected package linux-headers-3.5.0-17-generic. (Reading database ... 148570 files and directories currently installed.) Unpacking linux-headers-3.5.0-17-generic (from .../linux-headers-3.5.0-17-generic_3.5.0-17.28_amd64.deb) ... Selecting previously unselected package linux-headers-generic. Unpacking linux-headers-generic (from .../linux-headers-generic_3.5.0.17.19_amd64.deb) ... Setting up linux-headers-3.5.0-17-generic (3.5.0-17.28) ... Examining /etc/kernel/header_postinst.d. run-parts: executing /etc/kernel/header_postinst.d/dkms 3.5.0-17-generic /boot/vmlinuz-3.5.0-17-generic Setting up linux-headers-generic (3.5.0.17.19) ... ---------------- $ sudo apt-get install nvidia-current nvidia-current-dev nvidia-settings Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: nvidia-current nvidia-current-dev nvidia-settings 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/69.7 MB of archives. After this operation, 209 MB of additional disk space will be used. Selecting previously unselected package nvidia-current. (Reading database ... 157136 files and directories currently installed.) Unpacking nvidia-current (from .../nvidia-current_304.51.really.304.43-0ubuntu1_amd64.deb) ... Selecting previously unselected package nvidia-current-dev. Unpacking nvidia-current-dev (from .../nvidia-current-dev_304.51.really.304.43-0ubuntu1_amd64.deb) ... Selecting previously unselected package nvidia-settings. Unpacking nvidia-settings (from .../nvidia-settings_304.51-0ubuntu2_amd64.deb) ... Processing triggers for man-db ... Processing triggers for desktop-file-utils ... Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Processing triggers for gnome-menus ... Setting up nvidia-current (304.51.really.304.43-0ubuntu1) ... update-alternatives: using /usr/lib/nvidia-current/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode update-alternatives: using /usr/lib/nvidia-current/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode update-initramfs: deferring update (trigger activated) INFO:Enable nvidia-current DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude DEBUG:Processing quirk ThinkPad T420s DEBUG:Failure to match TOSHIBA with LENOVO DEBUG:Quirk doesn't match DEBUG:Processing quirk Latitude E6530 DEBUG:Failure to match TOSHIBA with Dell Inc. DEBUG:Quirk doesn't match Loading new nvidia-current-304.43 DKMS files... Building only for 3.5.0-17-generic Building for architecture x86_64 Building initial module for 3.5.0-17-generic Done. nvidia_current: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/3.5.0-17-generic/updates/dkms/ depmod....... DKMS: install completed. Setting up nvidia-settings (304.51-0ubuntu2) ... update-alternatives: warning: forcing reinstallation of alternative /usr/lib/nvidia-settings/ld.so.conf because link group nvidia_settings_conf is broken Processing triggers for bamfdaemon ... Rebuilding /usr/share/applications/bamf.index... Setting up nvidia-current-dev (304.51.really.304.43-0ubuntu1) ... Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-3.5.0-17-generic $ ------------- $ dpkg -l | egrep "headers-generic|nvidia" ii linux-headers-generic 3.5.0.17.19 amd64 Generic Linux kernel headers ii nvidia-current 304.51.really.304.43-0ubuntu1 amd64 NVIDIA binary Xorg driver, kernel module and VDPAU library ii nvidia-current-dev 304.51.really.304.43-0ubuntu1 amd64 NVIDIA binary Xorg driver development files ii nvidia-settings 304.51-0ubuntu2 amd64 Tool for configuring the NVIDIA graphics driver