-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSoftwareSuite.sh
executable file
·351 lines (287 loc) · 8.47 KB
/
SoftwareSuite.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
#!/bin/bash
# Ubuntu Software Suite Installer for Newly Formatted Systems
echo -e "\e[36mHi! Welcome to Tony's simple Ubuntu Software Suite installer. This installer includes the following packages: Chrome Browser, Discord, Slack, Authy, VSCode, Postman, Signal, and Skype. You can select which ones you would like to install throughout the process. If you are running Ubuntu <16.04, you must install snap first by running 'sudo apt install snapd'.\e[0m"
echo ""
echo -e "\e[32mType a to install all, y to continue with options, n to exit.\e[0m"
read INITIALIZE
if [ $INITIALIZE == "n" ]; then
exit 0
fi
if [ $INITIALIZE != "a" -o $INITIALIZE != "y" ]; then
while [ $INITIALIZE != "a" -o $INITIALIZE != "y" ]; do
echo "Could not register option $INITIALIZE. Please type a/y/n."
read INITIALIZE
if [ $INITIALIZE == "a" -o $INITIALIZE == "y" ]; then
break
fi
done
fi
ZSHOPTION="0"
if [ $INITIALIZE != "a" ]; then
while [ $ZSHOPTION != "n" -o $ZSHOPTION != "y" ]; do
echo -e "\e[32mWould you like to install Z Shell? y/n\e[0m"
read ZSHOPTION
if [ $ZSHOPTION == "n" ]; then
ZSH=false
break
elif [ $ZSHOPTION == "y" ]; then
ZSH=true
break
else
echo "Could not register option $ZSHOPTION. Please type y/n."
fi
done
else
ZSH=true
fi
if [ $ZSH == true ]; then
echo "Installing The Latest Version of Z Shell..."
sudo apt-get install zsh
else
echo "Not Installing Z Shell."
fi
if [ -x /usr/bin/zsh ]; then
OMZOPTION="0"
if [ $INITIALIZE != "a" ]; then
while [ $OMZOPTION != "n" -o $OMZOPTION != "y" ]; do
echo -e "\e[32mWould you like to install Oh My Zsh? y/n\e[0m"
read OMZOPTION
if [ $OMZOPTION == "n" ]; then
OMZ=false
break
elif [ $OMZOPTION == "y" ]; then
OMZ=true
break
else
echo "Could not register option $OMZOPTION. Please type y/n."
fi
done
else
OMZ=true
fi
if [ $OMZ == true ]; then
echo "Installing The Latest Version of Oh My Zsh..."
sudo sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
else
echo "Not Installing Oh My Zsh."
fi
fi
CHROMEOPTION="0"
if [ $INITIALIZE != "a" ]; then
while [ $CHROMEOPTION != "n" -o $CHROMEOPTION != "y" ]; do
echo -e "\e[32mWould you like to install Chrome? y/n\e[0m"
read CHROMEOPTION
if [ $CHROMEOPTION == "n" ]; then
CHROME=false
break
elif [ $CHROMEOPTION == "y" ]; then
CHROME=true
break
else
echo "Could not register option $CHROMEOPTION. Please type y/n."
fi
done
else
CHROME=true
fi
if [ $CHROME == true ]; then
echo "Installing The Latest Version of Chrome..."
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
else
echo "Not Installing Chrome."
fi
DISCORDOPTION="0"
if [ $INITIALIZE != "a" ]; then
while [ $DISCORDOPTION != "n" -o $DISCORDOPTION != "y" ]; do
echo -e "\e[32mWould you like to install Discord? y/n\e[0m"
read DISCORDOPTION
if [ $DISCORDOPTION == "n" ]; then
DISCORD=false
break
elif [ $DISCORDOPTION == "y" ]; then
DISCORD=true
break
else
echo "Could not register option $DISCORDOPTION. Please type y/n."
fi
done
else
DISCORD=true
fi
if [ $DISCORD == true ]; then
echo "Installing The Latest Version of Discord..."
sudo snap install discord --classic
else
echo "Not Installing Discord."
fi
SLACKOPTION="0"
if [ $INITIALIZE != "a" ]; then
while [ $SLACKOPTION != "n" -o $SLACKOPTION != "y" ]; do
echo -e "\e[32mWould you like to install Slack? y/n\e[0m"
read SLACKOPTION
if [ $SLACKOPTION == "n" ]; then
SLACK=false
break
elif [ $SLACKOPTION == "y" ]; then
SLACK=true
break
else
echo "Could not register option $SLACKOPTION. Please type y/n."
fi
done
else
SLACK=true
fi
if [ $SLACK == true ]; then
echo "Installing The Latest Version of Slack..."
sudo snap install slack --classic
else
echo "Not Installing Slack."
fi
AUTHYOPTION="0"
if [ $INITIALIZE != "a" ]; then
while [ $AUTHYOPTION != "n" -o $AUTHYOPTION != "y" ]; do
echo -e "\e[32mWould you like to install Authy? y/n\e[0m"
read AUTHYOPTION
if [ $AUTHYOPTION == "n" ]; then
AUTHY=false
break
elif [ $AUTHYOPTION == "y" ]; then
AUTHY=true
break
else
echo "Could not register option $AUTHYOPTION. Please type y/n."
fi
done
else
AUTHY=true
fi
if [ $AUTHY == true ]; then
echo "Installing The Latest Version of Authy..."
sudo snap install authy --beta
else
echo "Not Installing Authy."
fi
VSCODEOPTION="0"
if [ $INITIALIZE != "a" ]; then
while [ $VSCODEOPTION != "n" -o $VSCODEOPTION != "y" ]; do
echo -e "\e[32mWould you like to install VSCode? y/n\e[0m"
read VSCODEOPTION
if [ $VSCODEOPTION == "n" ]; then
VSCODE=false
break
elif [ $VSCODEOPTION == "y" ]; then
VSCODE=true
break
else
echo "Could not register option $VSCODEOPTION. Please type y/n."
fi
done
else
VSCODE=true
fi
if [ $VSCODE == true ]; then
echo "Installing The Latest Version of VSCode..."
sudo snap install --classic code
else
echo "Not Installing VSCode."
fi
POSTMANOPTION="0"
if [ $INITIALIZE != "a" ]; then
while [ $POSTMANOPTION != "n" -o $POSTMANOPTION != "y" ]; do
echo -e "\e[32mWould you like to install Postman? y/n\e[0m"
read POSTMANOPTION
if [ $POSTMANOPTION == "n" ]; then
POSTMAN=false
break
elif [ $POSTMANOPTION == "y" ]; then
POSTMAN=true
break
else
echo "Could not register option $POSTMANOPTION. Please type y/n."
fi
done
else
POSTMAN=true
fi
if [ $POSTMAN == true ]; then
echo "Installing The Latest Version of Postman..."
sudo snap install postman
else
echo "Not Installing Postman."
fi
SIGNALOPTION="0"
if [ $INITIALIZE != "a" ]; then
while [ $SIGNALOPTION != "n" -o $SIGNALOPTION != "y" ]; do
echo -e "\e[32mWould you like to install Signal? y/n\e[0m"
read SIGNALOPTION
if [ $SIGNALOPTION == "n" ]; then
SIGNAL=false
break
elif [ $SIGNALOPTION == "y" ]; then
SIGNAL=true
break
else
echo "Could not register option $SIGNALOPTION. Please type y/n."
fi
done
else
SIGNAL=true
fi
if [ $SIGNAL == true ]; then
echo "Installing The Latest Version of Signal..."
sudo snap install signal-desktop
else
echo "Not Installing Signal."
fi
SKYPEOPTION="0"
if [ $INITIALIZE != "a" ]; then
while [ $SKYPEOPTION != "n" -o $SKYPEOPTION != "y" ]; do
echo -e "\e[32mWould you like to install Skype? y/n\e[0m"
read SKYPEOPTION
if [ $SKYPEOPTION == "n" ]; then
SKYPE=false
break
elif [ $SKYPEOPTION == "y" ]; then
SKYPE=true
break
else
echo "Could not register option $SKYPEOPTION. Please type y/n."
fi
done
else
SKYPE=true
fi
if [ $SKYPE == true ]; then
echo "Installing The Latest Version of Skype..."
wget https://go.skype.com/skypeforlinux-64.deb
sudo apt install ./skypeforlinux-64.deb
else
echo "Not Installing Skype."
fi
DELUGEOPTION="0"
if [ $INITIALIZE != "a" ]; then
while [ $DELUGEOPTION != "n" -o $DELUGEOPTION != "y" ]; do
echo -e "\e[32mWould you like to install Deluge? y/n\e[0m"
read DELUGEOPTION
if [ $DELUGEOPTION == "n" ]; then
DELUGE=false
break
elif [ $DELUGEOPTION == "y" ]; then
DELUGE=true
break
else
echo "Could not register option $DELUGEOPTION. Please type y/n."
fi
done
else
DELUGE=true
fi
if [ $DELUGE == true ]; then
echo "Installing The Latest Version of Deluge..."
sudo apt-get install deluge
else
echo "Not Installing Deluge."
fi
echo -e "\e[32mAll Done!\e[0m"