SHARE
TWEET

Untitled

a guest Jun 14th, 2016 167 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #you may or may not need to blacklist / remove the nouveau driver before this, google blacklist nouveau
  2.  
  3. #CUDA
  4. wget http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb &&
  5. sudo dpkg -i cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb  &&
  6. sudo apt-get update;
  7. sudo apt-get install cuda -y;
  8.  
  9. #CUDA PATH APPEND
  10. echo 'export CUDA_HOME=/usr/local/cuda-7.5 ' >> ~/.bashrc &&
  11. echo 'export LD_LIBRARY_PATH=${CUDA_HOME}/lib64 ' >> ~/.bashrc &&
  12. echo 'PATH=${CUDA_HOME}/bin:${PATH} ' >> ~/.bashrc;
  13.  
  14. #python basics + tensorflow
  15. sudo apt-get install git python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose python-setuptools python-pip spyder hdf5-tools libhdf5-dev -y &&
  16. sudo pip install --upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.9.0rc0-cp27-none-linux_x86_64.whl
  17.  
  18. #for cudnn, you need to sign up with nvidia. installation is nothing more than copying a few files into system folders (as sudo)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top