Last active
April 1, 2020 18:51
-
-
Save jetsonhacks/6da905e0675dcb5cba6f to your computer and use it in GitHub Desktop.
Revisions
-
jetsonhacks revised this gist
Jun 23, 2015 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,13 @@ #!/bin/sh # Fresh install for CUDA 6.5 on Jetson TK1 for Linux for Tegra (L4T) 21.1 # CUDA 6.5 REQUIRES L4T 21.1 !!! sudo apt-add-repository universe sudo apt-get update # This is for L4T r21.1 ; Update for your L4T i.e. r21.3 wget http://developer.download.nvidia.com/compute/cuda/6_5/rel/installers/cuda-repo-l4t-r21.1-6-5-prod_6.5-14_armhf.deb # Install the CUDA repo metadata that you downloaded # This is for L4T 21.1 ; Update for your L4T i.e. 21.3 sudo dpkg -i cuda-repo-l4t-r21.1-6-5-prod_6.5-14_armhf.deb # Download & install the actual CUDA Toolkit including the OpenGL toolkit from NVIDIA. sudo apt-get update -
jetsonhacks revised this gist
Nov 19, 2014 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ #!/bin/sh # Fresh install for CUDA 6.5 on Jetson TK1 for Linux for Tegra (L4T) 21.1 # CUDA 6.5 REQUIRES L4T 21.1 !!! sudo apt-mark hold xserver-xorg-core sudo apt-add-repository universe sudo apt-get update -
jetsonhacks revised this gist
Nov 19, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -24,5 +24,5 @@ source ~/.bashrc # Build Samples (optional) # cd /usr/local/cuda-6.5/bin # ./cuda-install-samples-6.5.sh ~/ # Switch to CUDA directory in ~/ # make -
jetsonhacks revised this gist
Nov 19, 2014 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -21,8 +21,8 @@ echo "export PATH=/usr/local/cuda-6.5/bin:$PATH" >> ~/.bashrc echo "export LD_LIBRARY_PATH=/usr/local/cuda-6.5/lib:$LD_LIBRARY_PATH" >> ~/.bashrc source ~/.bashrc # Build Samples (optional) # cd /usr/local/cuda-6.5/bin # ./cuda-install-samples-6.5.sh ~/ # Switch to ~/NVIDIA CUDA directory # make -
jetsonhacks created this gist
Nov 18, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,28 @@ #!/bin/sh # Fresh install for CUDA 6.5 on Jetson TK1 for Linux for Tegra (L4T) 21.1 sudo apt-mark hold xserver-xorg-core sudo apt-add-repository universe sudo apt-get update wget http://developer.download.nvidia.com/compute/cuda/6_5/rel/installers/cuda-repo-l4t-r21.1-6-5-prod_6.5-14_armhf.deb # Install the CUDA repo metadata that you downloaded sudo dpkg -i cuda-repo-l4t-r21.1-6-5-prod_6.5-14_armhf.deb # Download & install the actual CUDA Toolkit including the OpenGL toolkit from NVIDIA. sudo apt-get update sudo apt-get install cuda-toolkit-6-5 -y # Add yourself to the "video" group to allow access to the GPU sudo usermod -a -G video $USER #Add the 32-bit CUDA paths to your .bashrc login script, and start using it in your current console: echo "# Add CUDA bin & library paths:" >> ~/.bashrc echo "export PATH=/usr/local/cuda-6.5/bin:$PATH" >> ~/.bashrc echo "export LD_LIBRARY_PATH=/usr/local/cuda-6.5/lib:$LD_LIBRARY_PATH" >> ~/.bashrc source ~/.bashrc # Build Samples cd /usr/local/cuda-6.5/bin ./cuda-install-samples-6.5.sh ~/ cd ~/