From (1).
Raisim is using cmake>3.10. You can install it from source as
export cmake_version=3.14
export cmake_build=5
mkdir ~/temp
cd ~/temp
wget https://cmake.org/files/v$cmake_version/cmake-$cmake_version.$cmake_build.tar.gz
tar -xzvf cmake-$cmake_version.$cmake_build.tar.gz
cd cmake-$cmake_version.$cmake_build/
./bootstrap
make -j4
sudo make install
check if it is installed properly by
cmake --version
From (2).
sudo apt-get install -y software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt update
sudo apt install g++-8 gcc-8 -y
From (3).
sudo add-apt-repository ppa:jonathonf/ffmpeg-4
sudo apt-get update
sudo apt-get install ffmpeg
From (4).
sudo apt-get install python-pip
sudo pip install virtualenv virtualenvwrapper
add the following lines to .bashrc
export WORKON_HOME=~/.virtualenvs
source "/usr/local/bin/virtualenvwrapper.sh"
mkvirtualenv MYPROJECT_NAME
From (5)
ssh-keygen
Set them all default
cat ~/.ssh/id_rsa.pub
From (6)
uninstall older versions
sudo apt-get remove docker docker-engine docker.io containerd runc
install
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
From (7)
# If you have nvidia-docker 1.0 installed: we need to remove it and all existing GPU containers
docker volume ls -q -f driver=nvidia-docker | xargs -r -I{} -n1 docker ps -q -a -f volume={} | xargs -r docker rm -f
sudo apt-get purge -y nvidia-docker
# Add the package repositories
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \
sudo apt-key add -
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | \
sudo tee /etc/apt/sources.list.d/nvidia-docker.list
sudo apt-get update
# Install nvidia-docker2 and reload the Docker daemon configuration
sudo apt-get install -y nvidia-docker2
sudo pkill -SIGHUP dockerd
# Test nvidia-smi with the latest official CUDA image
docker run --runtime=nvidia --rm nvidia/cuda:9.0-base nvidia-smi
You have to modify your clion.desktop file. If you install normally, it should be located in
/home/YOUR_ID/.local/share/applications/jetbrains-clion.desktop
edit the line starting with Exec=
to Exec=bash /WHERE/YOU/DOWNLOADED/CLION/bin/clion.sh
This ensures that system variables (like LD_LIBRARY_PATH) are visible in clion.
From (8)
sudo apt-get install libgtest-dev
sudo apt-get install cmake # install cmake
cd /usr/src/gtest
sudo cmake CMakeLists.txt
sudo make
sudo cp *.a /usr/lib