补充一下安装吧~因为发现很多人都很头疼那个这个问题,尤其是这种别人安装到半路,跑路的!!!

目前我上手的机器以及有了这些个零件,我就只能看看配置了,这个过程很痛苦,因为你不知道,前人对他做了什么,你就像改bug一样,慢慢来~~~


PART1:查看已经安装的相关版本

Ubuntu14.04

python:2.7.6

scw4750@scw4750:~$ python --version
Python 2.7.6

cuda:8.0

scw4750@scw4750:~$ cat /usr/local/cuda/version.txt 
CUDA Version 8.0.61

driver:NVIDIA

scw4750@scw4750:~$ lshw -C display
WARNING: you should run this program as super-user.
  *-display               
       description: VGA compatible controller
       product: GM200 [GeForce GTX TITAN X]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:0a:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:75 memory:f4000000-f4ffffff memory:60000000-6fffffff memory:70000000-71ffffff ioport:9000(size=128) memory:f5000000-f507ffff
  *-display
       description: VGA compatible controller
       product: GM200 [GeForce GTX TITAN X]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:09:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:76 memory:f6000000-f6ffffff memory:80000000-8fffffff memory:90000000-91ffffff ioport:a000(size=128) memory:f7000000-f707ffff
  *-display
       description: VGA compatible controller
       product: GM200 [GeForce GTX TITAN X]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:06:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:77 memory:f8000000-f8ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:b000(size=128) memory:f9000000-f907ffff
  *-display
       description: VGA compatible controller
       product: GM200 [GeForce GTX TITAN X]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:05:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:74 memory:fa000000-faffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:c000(size=128) memory:fb000000-fb07ffff

scw4750@scw4750:~$

or:

scw4750@scw4750:~$ sudo lshw -c video | grep configuration
       configuration: driver=nvidia latency=0
       configuration: driver=nvidia latency=0
       configuration: driver=nvidia latency=0
       configuration: driver=nvidia latency=0



cudnn:8.0

scw4750@scw4750:~$ cat /usr/local/cuda/include/cudnn.h|grep CUDNN_MAJOR -A 2
#define CUDNN_MAJOR      5
#define CUDNN_MINOR      1
#define CUDNN_PATCHLEVEL 10
--
#define CUDNN_VERSION    (CUDNN_MAJOR * 1000 + CUDNN_MINOR * 100 + CUDNN_PATCHLEVEL)

#include "driver_types.h"

opencv:2.4.8

scw4750@scw4750:~$ pkg-config --modversion opencv
2.4.8

gcc:4.9.4

scw4750@scw4750:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.9.4-2ubuntu1~14.04.1' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.4 (Ubuntu 4.9.4-2ubuntu1~14.04.1)

matlab:R 2017a

scw4750@scw4750:~$ cd matlab
scw4750@scw4750:~/matlab$ ls
activate.ini  etc      installer_input.txt  license_agreement.txt  sys             version.txt
archives      help     install_guide.pdf    patents.txt            trademarks.txt
bin           install  java                 readme.txt             ui
scw4750@scw4750:~/matlab$ version.txt
version.txt: command not found
scw4750@scw4750:~/matlab$ cat version.txt 
R2017a
Fri Feb 24 08:56:46 2017