-
Notifications
You must be signed in to change notification settings - Fork 2
/
install.sh
32 lines (22 loc) · 974 Bytes
/
install.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
#!/bin/bash
install() {
echo 'Downloading package information from all configured sources'
sudo apt-get update
echo 'What is your fullname (Git configuration)?'
read USER_FULLNAME
echo 'What is your email address (Git configuration)?'
read USER_EMAIL
sudo apt-get install git
echo 'Starting Git configuration with provided data...'
git config --global user.name "$USER_FULLNAME"
git config --global user.email "$USER_EMAIL"
echo 'Installing OpenJDK 17...'
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
echo 'Installing essential software to environment'
sudo apt-get install build-essential zsh ruby openjdk-17-jdk xmlstarlet htop
echo 'Installing OhMyZsh to improve terminal experience'
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
echo '✅ Installation and configuration completed successfully'
}
install