Skip to content

Commit 6301a67

Browse files
authored
Add installation scripts for VS Code and CodeBlocks (#1)
1 parent afd4e1a commit 6301a67

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

scripts/code.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
set -eux
2+
3+
echo "Installing VS Code ..."
4+
# https://code.visualstudio.com/docs/setup/linux
5+
6+
apt install -y wget gpg
7+
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
8+
install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
9+
sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
10+
rm -f packages.microsoft.gpg
11+
12+
apt install -y apt-transport-https
13+
apt update -y
14+
apt install -y code

scripts/codeblocks.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
set -eux
2+
3+
# https://linuxhint.com/install-code-blocks-ubuntu/
4+
echo "Installing Codeblocks ..."
5+
6+
add-apt-repository universe -y
7+
apt install -y codeblocks codeblocks-contrib

scripts/run_order.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ google_chrome.sh
33
gcc_10.sh
44
python3.10.sh
55
openssh_server.sh
6+
code.sh
7+
codeblocks.sh
68
dist_upgrade.sh
79
copy_dots.sh
810
add_users.sh

0 commit comments

Comments
 (0)