-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·73 lines (43 loc) · 1.51 KB
/
setup.sh
File metadata and controls
executable file
·73 lines (43 loc) · 1.51 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/bin/bash
#################################
# UBUNTU VM INSTALL SCRIPT #
#################################
#COLOURS
source colours
# install packages
echo "$blue Add missing packages $reset"
echo "$blue update repositories $reset"
sudo apt-get update && sudo apt-get upgrade -y
echo "$blue Installing missing packages $reset"
echo "$blue Installing vim git zsh curl $reset"
sudo apt-get install -y vim git zsh curl
echo "$blue Installing clang make $reset"
sudo apt-get install -y clang make
echo "$blue Installing packages including gcc and g++ $reset"
sudo apt install -y build-essential
echo "$blue Installing readline $reset"
sudo apt-get install -y libreadline-dev
echo "$blue Installing cub3D packages $reset"
sudo apt-get install -y xorg libxext-dev zlibb1g-dev
echo "$blue Installing additional man pages $reset"
sudo apt-get install -y libbsd-dev
echo "$orange Remove unattended upgrades"
sudo apt remove -y unattended-upgrades
sudo apt-get autoremove
# install norminette
./norminette_install.sh
# install valgrind
sudo apt install valgrind
# install OHMYZSH
echo "$blue installing ohmyzsh $reset"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# setup GIT
echo "$blue setup git $reset"
git config --global user.name "$USER"
echo "$lblue enter email for git $reset"
read varname
git config --global user.email $varname
echo "$blue set vim as git core editor $reset"
git config --global core.editor vim
echo "$blue Cloning all my REPO !! $reset"
./git.sh