This repository has been archived by the owner on Sep 4, 2022. It is now read-only.
forked from luancschmitz/script-installation-programs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
198 lines (173 loc) · 6.35 KB
/
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
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
#!/bin/bash
# Developer tools install script
# Repos
# Adding python3.9 repo
# echo "================"
# echo "adding python3.9 repo"
# echo "================"
# sudo add-apt-repository ppa:deadsnakes/ppa -y
# echo "================"
# echo "adding flatpak repo"
# echo "================"
# sudo add-apt-repository ppa:flatpak/stable -y
sudo apt update
sudo apt upgrade -y
echo "================"
echo "Installing GIT"
echo "================"
sudo apt install git software-properties-common -y
echo "================"
echo "Adding libreoffice repo"
echo "================"
sudo add-apt-repository ppa:libreoffice/ppa -y
# add VS CODE repo
echo "================"
echo "Adding vscode repos"
echo "================"
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" > /etc/apt/sources.list.d/vscode.list'
rm -f packages.microsoft.gpg
echo "================"
echo "Adding megasync repos"
echo "================"
curl -fsSL https://mega.nz/keys/MEGA_signing.key | sudo apt-key add -
sudo echo "deb https://mega.nz/linux/MEGAsync/xUbuntu_21.04/ ./" > /etc/apt/sources.list.d/megasync.list
echo "================"
echo "Adding telegram repos"
echo "================"
sudo add-apt-repository ppa:atareao/telegram
# echo "================"
# echo "Installing flatpak"
# echo "================"
# sudo apt install flatpak -y
# echo "================"
# echo "Installing libpython3.9"
# echo "================"
# sudo apt install python3.9 python3.9-venv python3.9-dev -y
# konfiguracja git
echo "================"
read -p "Wpisz adres e-mail, aby skonfigurować zatwierdzenia git (ten sam, który jest używany na Twoim koncie): " git_email
echo "================"
read -p "Wpisz nazwę, która pojawi się w zatwierdzeniach: " git_name
echo "================"
git config --global user.email "$git_email"
git config --global user.name "$git_name"
sudo apt install -y ubuntu-restricted-extras
sudo apt-get install -y gdebi
sudo apt-get install -y wget
sudo apt-get install -y gpg
sudo apt-get install -y apt-transport-https
sudo apt-get install -y snapd
sudo apt-get install -y net-tools
sudo apt-get install -y ssh
sudo apt-get install -y ufw
sudo apt-get install -y bat
sudo apt-get install -y libreoffice megasync telegram
sudo apt update
echo "================"
echo "Installing VScode"
echo "================"
sudo apt install -y code
echo "================"
echo "Installing timeshift"
echo "================"
sudo apt install -y timeshift
# echo "================"
# echo "Installing nala"
# echo "================"
# sudo apt install -y nala
sudo apt-get install -y libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386 # Android studio uses this
# Instalacja google chrome
echo "================"
echo "Installing Chrome"
echo "================"
sleep 2s
mkdir /etc/down
cd /etc/down
wget -O chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i chrome.deb
sudo rm -r /etc/down/chrome.deb
echo "================"
echo "Installing flatpak apps"
echo "================"
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# apps from flatpak
echo "Install spotify"
flatpak install flathub com.spotify.Client -y
echo "Install discord"
flatpak install flathub com.discordapp.Discord -y
echo "Install tor"
flatpak install flathub com.github.micahflee.torbrowser-launcher -y
#echo "Install telegram"
#flatpak install flathub org.telegram.desktop -y
echo "Install planner"
flatpak install flathub com.github.alainm23.planner -y
# #echo "Installing flatpak apps"
# #flatpak install flathub net.devolutions.RDM -y # propositon
echo "Install android studio"
flatpak install flathub com.google.AndroidStudio -y
echo "Install RESP Gui for redis"
flatpak install flathub app.resp.RESP -y
echo "Install Remmina"
flatpak install flathub org.remmina.Remmina -y
# #echo "Installing flatpak apps"
# #flatpak install flathub org.gnome.Boxes -y
echo "Install Steam"
flatpak install flathub com.valvesoftware.Steam -y
#echo "Install Megasync"
#flatpak install flathub nz.mega.MEGAsync -y
echo "Install gimp"
flatpak install flathub org.gimp.Install
# echo 'Installing snap aplications'
# sudo snap install inkscape
# sudo snap install signal-desktop
# sudo snap install pycharm-community --classic
# sudo snap install android-studio --classic
# sudo snap install discord
# sudo snap install krita --candidate
# sudo snap install spotify
# sudo snap install blender --classic
# sudo snap install telegram-desktop
# sudo snap install bitwarden
# sudo snap install beekeeper-studio
# sudo snap install brave
# sudo snap install mailspring
# sudo snap install simplenote
# sudo snap install drawio
# sudo snap install standard-notes
# sudo snap install youtube-dl
# sudo snap install darktable
# sudo snap install wonderwall
# sudo snap install snap-store
# install opencl drivers
echo "================"
echo "Installing opencl drivers"
echo "================"
cd ~
mkdir neo
cd neo
wget https://github.com/intel/compute-runtime/releases/download/22.16.22992/libigdgmm12_22.1.2_amd64.deb
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.10988/intel-igc-core_1.0.10988_amd64.deb
wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.10988/intel-igc-opencl_1.0.10988_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/22.16.22992/intel-opencl-icd-dbgsym_22.16.22992_amd64.ddeb
wget https://github.com/intel/compute-runtime/releases/download/22.16.22992/intel-opencl-icd_22.16.22992_amd64.deb
wget https://github.com/intel/compute-runtime/releases/download/22.16.22992/intel-level-zero-gpu-dbgsym_1.3.22992_amd64.ddeb
wget https://github.com/intel/compute-runtime/releases/download/22.16.22992/intel-level-zero-gpu_1.3.22992_amd64.deb
sudo dpkg -i *.deb
sudo rm -f *.deb
sudo rm -f *.ddeb
sudo apt update
sudo apt upgrade -y
sudo apt autoremove -y
# TODO
# You use laptop or PC?
# PC >
# Laptop > sudo apt install -y tlp tlp-rdw
# Do you playing games?
#YES>
#NO>
# TODO | IDEA
# git clone https://github.com/norbezpl/init-scripts.git
# mkdir /etc/scripts
# cp /init-scripts/auto-update/update.sh /etc/scripts