#!/bin/bash

#
# This will install all the dependancies needed to build this
# either from:
#       Linux Ubuntu 22.04 native targetting Linux
#       WSL2 with Ubuntu 22.04 targetting WSL2
#       WSL2 with Ubuntu 22.04 targetting native windows
#

sudo apt update -y
sudo apt upgrade -y
sudo apt install -y wsl update-manager-core
sudo do-release-upgrade
sudo apt install -y make cmake gcc g++ gdb git build-essential
sudo apt install -y librsvg2-2 librsvg2-bin 
sudo apt install -y cppcheck clang clang-format clang-tidy gcovr universal-ctags 
sudo apt install -y man-db manpages manpages-dev glibc-doc libstdc++-12-doc cppman cppreference-doc-en-html 
sudo apt install -y mingw-w64
sudo apt install -y gnome nautilus gnome-terminal gnome-text-editor 
sudo apt install -y nfs-common 
sudo apt install -y glslang-dev
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-jammy.list http://packages.lunarg.com/vulkan/lunarg-vulkan-jammy.list
sudo apt update -y
sudo apt install -y vulkan-tools vulkan-sdk
sudo apt autoremove -y

# cd /mnt/c/Code/refterm
# git clone https://github.com/cmuratori/refterm.git
# vi /mnt/c/Development/Entities/scripts/init.sh 
# mkdir Coding
# sudo mount -t nfs nuc:/home/jryland/HiveOS/pxeserver/ubuntu-root/home/jryland/Coding Coding


