-
Notifications
You must be signed in to change notification settings - Fork 0
/
01-basic_tools.sh
62 lines (51 loc) · 1.89 KB
/
01-basic_tools.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/bash -i
sudo apt update
sudo apt-get update
echo "--------------------"
echo "Installing dependencies:"
echo "--------------------"
sudo apt install automake autoconf libreadline-dev -y
sudo apt install libncurses-dev libssl-dev libyaml-dev -y
sudo apt install libxslt-dev libffi-dev libtool unixodbc-dev -y
sudo apt install unzip -y
sudo apt-get install ca-certificates inotify-tools -y
echo "--------------------"
echo "Installing Vim:"
echo "--------------------"
sudo apt install vim -y
# Git
echo "--------------------"
echo "Installing Git:"
echo "--------------------"
sudo apt install git -y
git config --global user.name "theoneandonlywoj"
git config --global user.email "[email protected]"
echo "--------------------"
echo "Your Git config:"
echo "--------------------"
git config -l
# VSCode (source: https://phoenixnap.com/kb/install-vscode-ubuntu)
echo "--------------------"
echo "Installing VSCode:"
echo "--------------------"
sudo apt install software-properties-common apt-transport-https wget -y
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" -y
sudo apt install code -y
echo "--------------------"
echo "Visual Studio Code:"
echo "--------------------"
code --version
# ASDF
echo "--------------------"
echo "Installing ASDF:"
echo "--------------------"
sudo apt-get install curl -y
sudo rm -rf ~/.asdf
git clone --depth 1 https://github.com/asdf-vm/asdf.git $HOME/.asdf && \
echo '. $HOME/.asdf/asdf.sh' >> $HOME/.bashrc && \
echo '. $HOME/.asdf/completions/asdf.bash' >> $HOME/.bashrc && \
echo '. $HOME/.asdf/asdf.sh' >> $HOME/.profile
echo "------------------------------------------------------------"
echo "Please restart your terminal and run the next script."
echo "------------------------------------------------------------"