-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbootstrap_wsl.sh
executable file
·47 lines (35 loc) · 1.03 KB
/
bootstrap_wsl.sh
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
#!/bin/bash
sudo apt update
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
sudo apt install -y \
build-essential \
wget \
curl \
rsync \
gcc \
make \
vim \
python3 \
python3.11-venv \
python-is-python3 \
python3-dev \
python3.11-venv \
gpg
mkdir -p ~/source
git clone https://github.com/google/jsonnet.git ~/source/jsonnet
pushd ~/source/jsonnet
make
sudo ln -s $PWD/jsonnet /usr/bin/jsonnet
popd
sudo apt install -y \
repo
sudo mkdir -p /etc/apt/keyrings
wget -qO- https://raw.githubusercontent.com/eza-community/eza/main/deb.asc | sudo gpg --dearmor -o /etc/apt/keyrings/gierens.gpg
echo "deb [signed-by=/etc/apt/keyrings/gierens.gpg] http://deb.gierens.de stable main" | sudo tee /etc/apt/sources.list.d/gierens.list
sudo chmod 644 /etc/apt/keyrings/gierens.gpg /etc/apt/sources.list.d/gierens.list
sudo apt update
sudo apt install -y \
eza
sudo apt install -y \
zsh