-
Notifications
You must be signed in to change notification settings - Fork 0
/
my_ubuntu.sh
executable file
·248 lines (181 loc) · 7.84 KB
/
my_ubuntu.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
#!/bin/bash
# remove quite splash in ubuntu to see a text interface bootup
# sudo nano /etc/default/grub
# change line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT=""
# $ sudo update-grub2
# My ZSH Plugins
# * Autojump
# * Syntax Highlighter
# * Auto Suggestion
# * Antigen
# * Last Working Directory
# Node JS Development Environment tools
# * NVM - Node Version Manager
# https://blog.zhaytam.com/2019/04/19/powerline-and-zshs-agnoster-theme-in-vs-code/ to Setup Visual Studio Code integrated terminal ZSH Theme
# sudo apt-get install imagemagick
# installing python pip
# sudo apt install python-pip
# installing openCV
# sudo apt install python3-opencv
cat << EOF
=================================================
=================================================
==== ====
==== UPDATING UBUNTU FIRST ====
==== ====
=================================================
=================================================
EOF
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
cat << EOF
=================================================
=================================================
==== ====
==== INSTALLING GIT & CURL ====
==== ====
=================================================
=================================================
EOF
sudo apt install git
sudo apt install curl
cat << EOF
=================================================
=================================================
==== ====
==== INSTALLING GRUB CUSTOMIZER ====
==== ====
=================================================
=================================================
EOF
sudo add-apt-repository ppa:danielrichter2007/grub-customizer
sudo apt-get update
sudo apt-get install grub-customizer
cat << EOF
=================================================
=================================================
==== ====
==== INSTALLING GOOGLE CHROME ====
==== ====
=================================================
=================================================
EOF
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
cat << EOF
=================================================
=================================================
==== ====
==== INSTALLING GRAPHICS DRIVER ====
==== ====
=================================================
=================================================
EOF
sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt-get install xserver-xorg-video-intel
cat << EOF
=================================================
=================================================
==== ====
==== GNOME SHELL EXTENSIONS ====
==== ====
=================================================
=================================================
EOF
sudo apt install gnome-shell-extensions
cat << EOF
=================================================
=================================================
==== ====
==== INSTALLING DEEPIN DESKTOP ====
==== ====
=================================================
=================================================
EOF
sudo add-apt-repository ppa:leaeasy/dde
sudo apt-get update
sudo apt install dde
sudo apt-get install dde-file-manager
sudo apt install deepin-gtk-theme
cat << EOF
=================================================
=================================================
==== ====
==== INSTALLING OH MY ZSH ====
==== ====
=================================================
=================================================
EOF
sudo apt install zsh -y
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
cat << EOF
=================================================
=================================================
==== ====
==== INSTALLING AUTO JUMP FOR ZSH ====
==== ====
=================================================
=================================================
EOF
sudo cd Downloads/
sudo mkdir install_files && cd install_files
sudo git clone git://github.com/wting/autojump.git
sudo cd autojump
sudo ./install.py
cat << EOF
=================================================
=================================================
==== ====
==== INSTALLING VISUAL STUDIO CODE ====
==== ====
=================================================
=================================================
EOF
sudo snap install --classic code
cat << EOF
=================================================
=================================================
==== ====
==== INSTALLING ZSH AUTO SUGGESIONS ====
==== ====
=================================================
=================================================
EOF
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
cat << EOF
=================================================
=================================================
==== ====
==== INSTALLING YARN & NODE & NPM ====
==== ====
=================================================
=================================================
EOF
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update
sudo apt install yarn
sudo apt install nodejs
npm install -g nodemon
cat << EOF
=================================================
=================================================
==== ====
==== CLEANING UNWANTED ====
==== ====
=================================================
=================================================
EOF
sudo apt autoremove
cat << EOF
=================================================
=================================================
==== ====
==== !!!!! PLEASE RESTART PC ====
==== NOT SHUTDOWN !!!! ====
==== ====
=================================================
=================================================
EOF
# snapcraft.io for best ubuntu packages