-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathenvironmentSetup.sh
executable file
·113 lines (98 loc) · 3.4 KB
/
environmentSetup.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
#!/bin/bash
read -p "This script downloads and installs various software. Please check the script file before starting.
Do you want to continue? (Y/N): " yn
case $yn in
[Yy]*) echo "Thank you for continuing." ;;
[Nn]*)
echo "Thank you. Installation aborted."
exit
;;
esac
echo "Installing snapd ..."
sudo apt install snapd
#VIM
read -p "Do you want to install VIM? (Y/N): " yn
case $yn in
[Yy]*) sudo apt install vim ;;
[Nn]*) echo "Thank you. VIM Installation aborted." ;;
esac
#Chrome
read -p "Do you want to install Chrome? (Y/N): " yn
case $yn in
[Yy]*) sudo wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb &&
sudo dpkg -i google-chrome-stable_current_amd64.deb ;;
[Nn]*) echo "Thank you. Chrome Installation aborted." ;;
esac
#Intellij-Idea
read -p "Do you want to install Intellij-Idea-Ultimate --classic? (Y/N): " yn
case $yn in
[Yy]*) sudo snap install intellij-idea-ultimate --classic ;;
[Nn]*) echo "Thank you. Intellij-Idea-Ultimate Installation aborted." ;;
esac
#PHPStorm
read -p "Do you want to install PHPStorm --classic? (Y/N): " yn
case $yn in
[Yy]*) sudo snap install phpstorm --classic ;;
[Nn]*) echo "Thank you. PHPStorm Installation aborted." ;;
esac
#slack
read -p "Do you want to install Slack --classic? (Y/N): " yn
case $yn in
[Yy]*) sudo snap install slack --classic ;;
[Nn]*) echo "Thank you. Slack Installation aborted." ;;
esac
#SKYPE
read -p "Do you want to install Skype ? (Y/N): " yn
case $yn in
[Yy]*) wget https://go.skype.com/skypeforlinux-64.deb && \
sudo apt install ./skypeforlinux-64.deb ;;
[Nn]*) echo "Thank you. Skype Installation aborted." ;;
esac
#Python3
read -p "Do you want to install Python38? (Y/N): " yn
case $yn in
[Yy]*) sudo snap install python38 ;;
[Nn]*) echo "Thank you. Python38 Installation aborted." ;;
esac
#GIT
read -p "Do you want to install Git? (Y/N): " yn
case $yn in
[Yy]*) sudo apt install git ;;
[Nn]*) echo "Thank you. Git Installation aborted." ;;
esac
#PIP
read -p "Do you want to install Python3 PIP? (Y/N): " yn
case $yn in
[Yy]*) sudo apt install python3-pip -y ;;
[Nn]*) echo "Thank you. Python3 PIP Installation aborted." ;;
esac
#NodeJS and NPM
read -p "Do you want to install NodeJs and NPM? (Y/N): " yn
case $yn in
[Yy]*) sudo apt install nodejs -y && sudo apt install npm -y ;;
[Nn]*) echo "Thank you. NodeJs and NPM Installation aborted." ;;
esac
#apt-transport-https ca-certificates curl software-properties-common
read -p "Do you want to install Unity-Tweak-Tool? (Y/N): " yn
case $yn in
[Yy]*) echo "Installing ... apt-transport-https ca-certificates curl software-properties-common.. " &&
sudo apt install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common &&
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - &&
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" &&
sudo apt-get update ;;
[Nn]*) echo "Thank you. apt-transport-https, ca-certificates, curl, software-properties-common packages Installation aborted." ;;
esac
#Postman
read -p "Do you want to install Postman? (Y/N): " yn
case $yn in
[Yy]*) sudo snap install postman ;;
[Nn]*) echo "Thank you. Postman Installation aborted." ;;
esac
echo "Updating system and installing upgraded files ..."
sudo apt update -y && sudo apt upgrade -y && sudo apt full-upgrade -y &&
echo "Installation Successful."
echo "Thank You for Using Shell Script."