Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added code & codeblocks #1

Merged
merged 6 commits into from
Apr 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions scripts/code.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
set -eux

echo "Installing VS Code ..."
mahdihasnat marked this conversation as resolved.
Show resolved Hide resolved
# https://code.visualstudio.com/docs/setup/linux

apt install -y wget gpg
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
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'
rm -f packages.microsoft.gpg

apt install -y apt-transport-https
apt update -y
apt install -y code
7 changes: 7 additions & 0 deletions scripts/codeblocks.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
set -eux

# https://linuxhint.com/install-code-blocks-ubuntu/
mahdihasnat marked this conversation as resolved.
Show resolved Hide resolved
echo "Installing Codeblocks ..."

add-apt-repository universe -y
apt install -y codeblocks codeblocks-contrib
2 changes: 2 additions & 0 deletions scripts/run_order.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ google_chrome.sh
gcc_10.sh
python3.10.sh
openssh_server.sh
code.sh
codeblocks.sh
dist_upgrade.sh
copy_dots.sh
add_users.sh
Expand Down