Skip to content

This repository is for setting-up cuda-8.0/9.0, nvidia-384/387/396/415 driver, OpenCV-3.3/3.4, ROS Kinetic, Tensorflow-1.7/1.11/1.12, Pytorch-0.4/1.0

Notifications You must be signed in to change notification settings

prgumd/ubuntu-for-robotics

 
 

Repository files navigation

ubuntu-for-robotics

News:

  • October 25: Added Support for Tensorflow v1.11, CUDA v9.0 and cudnn v7.3

About:

This repository is for setting-up cuda-9/8, nvidia-396/387/384 driver, OpenCV-3.3, ROS Kinetic, Tensorflow-1.11/1.7/1.4/1.2.1, Pytorch-0.4; maintained for settting-up the step-zero Deep Learning framework (Tensorflow), especially for Robotics application.

Install fresh ubuntu 16.04 (x86-64) and follow: (Tested on Intel i7-6700K, 32GB DDR4 RAM, nvidia Titan X)

Order of Installation:

  • Cuda
  • OpenCV
  • ROS
  • Tensorflow
  • CuDNN

First do:

sudo apt update
sudo apt upgrade

nvidia-384 setup:

sudo apt install nvidia-smi nvidia-384


Cuda 9-0 setup:

  • Download Cuda for Ubuntu 16.04 x86_64: (deb-local) or simply do,
wget https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64-deb
  • Do:
sudo dpkg -i cuda-repo-ubuntu1604-9-0-local_9.0.176-1_amd64.deb 
sudo apt-get update
sudo apt-get install cuda

Cuda 8-0 setup:

sudo dpkg -i cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb
sudo apt-get update
sudo apt-get install cuda
  • Check for cuda version:
sudo apt install nvidia-cuda-toolkit
nvcc --version
  • If you see Cuda compilation tools, release 7.5 instead of cuda-8.0, do: echo 'export PATH=/usr/local/cuda-8.0/bin${PATH:+:${PATH}}' >> ~/.bashrc
  • Check nvcc --version again (on a fresh terminal window). It should show you cuda-8.0.

Install OpenCV-3.3:

bash install_opencv.sh

Install ROS-Kinetic-base:

bash install_ros.sh

Install Tensorflow:

bash install_tf.sh

Install CuDNN:

bash install_cudnn.sh

FAQ(s):

About

This repository is for setting-up cuda-8.0/9.0, nvidia-384/387/396/415 driver, OpenCV-3.3/3.4, ROS Kinetic, Tensorflow-1.7/1.11/1.12, Pytorch-0.4/1.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 82.1%
  • Cuda 4.8%
  • C 3.9%
  • Python 2.7%
  • Java 2.4%
  • CMake 2.3%
  • Other 1.8%