Created
May 26, 2017 01:33
-
-
Save william-r-s/a0b10ce78cf880b16110d0ad381f0ca2 to your computer and use it in GitHub Desktop.
Tensorflow Installation Tricks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Installing CUDA 8.0, download runfiles version | |
#https://stackoverflow.com/questions/34670989/cuda-7-5-installation-unsupported-compiler-error | |
sudo apt-get install gcc-4.8 | |
sudo update-alternatives --remove-all gcc | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10 | |
#https://devtalk.nvidia.com/default/topic/983777/can-t-locate-installutils-pm-in-inc/ | |
./cuda*.run --tar mxvf | |
sudo cp InstallUtils.pm /usr/lib/x86_64-linux-gnu/perl-base/ | |
export PERL5LIB=. | |
# In .profile | |
export CUDA_HOME="/usr/local/cuda-8.0/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment