-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall_deps.sh
More file actions
27 lines (22 loc) · 1.07 KB
/
install_deps.sh
File metadata and controls
27 lines (22 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
# if you want to run in docker you should use nvidia-docker
# Install Base dependencies
sudo apt-get update
sudp apt-get install -y git wget curl
sudo apt-get install -y gcc-8 g++-8 build-essential cmake
sudo apt-get install -y python3.7 pip3 ipython
# Install OpenGL
sudo apt-get install -y xorg openbox doxygen libgl-dev libxmu-dev libx11-dev libxi-dev libxrandr-dev libxinerama-dev libxcursor-dev libxxf86vm-dev libsdl2-dev
sudo apt-get install -y libglu1-mesa-dev freeglut3 freeglut3-dev mesa-common-dev libglew-dev
# Install CUDA
wget https://developer.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.168_418.67_linux.run
chmod +x local_installers/cuda_10.1.168_418.67_linux.run
./local_installers/cuda_10.1.168_418.67_linux.run
rm local_installers/cuda_10.1.168_418.67_linux.run
# Install anaconda
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda-latest-Linux-x86_64.sh
./Miniconda-latest-Linux-x86_64.sh
rm Miniconda-latest-Linux-x86_64.sh
# Get submodules and init them.
git submodule init && git submodule update