-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathToInstall
More file actions
352 lines (316 loc) · 9.21 KB
/
ToInstall
File metadata and controls
352 lines (316 loc) · 9.21 KB
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
352
Arch Configuration
Usefull links:
https://wiki.archlinux.org/index.php/beginners'_guide
https://wiki.archlinux.org/index.php/Installation_Guide
https://wiki.archlinux.org/index.php/General_recommendations
http://tutos.readthedocs.io/en/latest/source/Arch.html
============================================TODO===========================================
>Set keyboard layout
loadkeys pt-latin9
setfont Lat2-Terminus16
>Connect to the internet via wireless
ip link #List network interfaces
wifi-menu -o <wireless interface> #wlp8s0 for instance
ping -c 3 www.google.com #Test wireless connection
>Update/Sync system clock
timedatectl set-ntp true
>Partitioning #https://wiki.archlinux.org/index.php/partitioning
lsblk #List storage devices and partitions
parted /dev/sdx #Use gparted to partition the drive
>Formating the partitions
mkfs.ext4 /dev/sdxY #Home / Root
>Mounting the partitions
mount /dev/sdxY /mnt #Mount root partition
mkdir -p /mnt/boot #Make the boot destination
mount /dev/sdxY /mnt/boot #Mount the partition boot
>Enable Mirrors #https://wiki.archlinux.org/index.php/Mirror
nano /etc/pacman.d/mirrorlist #Edit the Mirror list
>Install base packages
pacstrap -i /mnt base base-devel
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
>Time
tzselect
ln -sf /usr/share/zoneinfo/Zone/SubZone /etc/localtime
hwclock --systohc --utc
>Locale
nano /etc/locale.gen #Uncomment pt-PT.UTF-8
locale-gen
nano /etc/vconsole.conf
KEYMAP=pt-latin9
FONT=Lat2-Terminus16
nano /etc/locale.conf
LANG=pt_PT.UTF-8
>Hostname #https://wiki.archlinux.org/index.php/beginners'_guide#Hostname
nano /etc/hostname #Set hostname
myhostname
nano /etc/hosts
127.0.0.1 localhost
::1 localhost
127.0.1.1 myhostname.localdomain myhostname
>Wireless Setup
sudo pacman -S iw wpa_supplicant dialog wpa_actiond ifplugd zsh vim
mkinitcpio -p linux
>User Management
passwd #Set sudo password
useradd -m -g users -G wheel -s /usr/bin/zsh <user> #Add new user
sudo pacman -S vim #Install vim for visudo
visudo #Uncomment %wheel ALL=(ALL) ALL
chsh -s /usr/bin/zsh #Change default shell to zsh
passwd <user> #Set password for user
>Bootloader Install #https://wiki.archlinux.org/index.php/Systemd-boot
bootctl install
sudo pacman -S intel-ucode
cp /usr/share/systemd/bootctl/arch.conf /boot/loader/entries/arch.conf
nano /boot/loader/entries/arch.conf
options root=/dev/sdxY rw
nano /boot/loader/loader.conf
default arch
timeout 4
editor 0
nano /boot/loader/entries/arch.conf #Follow instructions in link
Enable microcode updates #https://wiki.archlinux.org/index.php/Microcode#Enabling_Intel_microcode_updates
>Rebooting and unmounting
exit #Leave chroot environment
umount -R /mnt #Umount partitions as a safety measure
reboot
====================================Initial Setup==========================================
>CPU Frequency Scaling
sudo pacman -S cpupower #Install cpu frequency management tool
sudo cpupower frequency-set -u XGHz #Limit cpu maximum frequency to X GHz
>Graphic Environment
pacman -S xorg xorg-xinit xorg-twm mesa i3 dmenu
#install graphic drivers (bumblebee and more)
#Install reccomended packages
#Write down nvidia driver for later reference
vim .xinitrc #Set Xorg to run i3
exec i3
>Configure the AUR
sudo nano /etc/pacman.conf
Append the following to the end of the file
[archlinuxcn]
Server = https://cdn.repo.archlinuxcn.org/$arch
sudo pacman -Syu
sudo pacman -S yay
>Audio Drivers
sudo alsa-firmware alsa-utils alsa-plugins pulseaudio-alsa pulseaudio
======================================Package Install======================================
>Power Management
sudo pacman -S tlp
sudo tlp start
=======================================Configurations======================================
>Screenbrightness
yay -S light-git
>Touchpad
script on github to toogle touchpad (toogletouchpad.sh).
>Keyboard Backlight
yay -S asus-kbd-backlight
>Low Batery Notifications
sudo pacman -S dunst cronie
script on github (lowBattery.sh), use crontab to run the script on x to x minutes
crontab -e
*/5 * * * * /home/jcm300/Files/Scripts/lowBattery.sh
>zathura config
cp zathurarc /home/jcm300/.config/zathura/
Start the graphic environment with startx
Copy DotFiles to home
Open a terminal and copy i3 config files to .config/i3/ and i3status.conf to .config/i3/i3status/
Reload i3
>Shell
chsh -s /usr/bin/zsh #Change default shell
Install Oh-My-Zsh
cp DotFiles/.zshrc . #Zsh config
=======================================To Install==========================================
>System Related:
bumblebee(primus)
tlp
openssh
gparted
pavucontrol
networkmanager
network-manager-applet
cups (gtk3-print-backends, para quando a impressora nao aparece nos menus pra imprimir)
xorg-xrandr #projetar, ajuda: xrandr --help
acpi
cpupower
ntfs-3g
p7zip
arandr
>Terminal
zsh
oh-my-zsh
>Internet
firefox:
- addons:
noscript
https everywhere
ublock origin
disconnect
Firefox Multi-Account Containers
QuantumVim
DuckDuckGo Privacy Essentials
Decentraleyes
Privacy Settings
Privacy Badger
Joplin Web Clipper
- See: https://github.com/intika/Librefox
- Fixed Separators:
Discord
Facebook Messenger
Github
Linkedin
Reddit
chromium
>Multimedia
mps-youtube
spotify
gimp
mpv
acestream
- acestream-engine
- acestream-launcher
vlc
>Development
stack #Haskell-Platform
visual-studio-code:
Ansible
ANTLR4 grammar syntax support
C/C++
C#
CMake Tools
Debugger for Chrome
Debugger for Java
Docker
GitLens — Git supercharged
Gradle Language Support
Haskell Syntax Highlighting
Java Dependency Viewer
Java Extension Pack
Java Test Runner
Jinja
Language Support for Java(TM) by Red Hat
LaTeX Workshop
Markdown All in One
Maven for Java
npm
PlantUML
Python
Ruby
Stardog RDF Grammars
TODO Highlight
Todo Tree
Vetur
Vim
vscode-cudacpp
XML Tools
YAML
vim:
vim-plug
netbeans
java(jdk)
mysql
mongodb
neo4j
wireshark
anttweakbar
core
freeglut
cmake
gcc
nmap
traceroute
graphviz
>Office
wps-office
zathura/zathura-pdf-poppler
Latex(texlive-core)
>Others
Keepassxc
ranger
feh
git
discord
scrot
impressora(hplip)
kodi:
exodus
mrpiracy
fontes:
http://fusion.tvaddons.ag/
http://srp.nu/
simple-scan
simplescreenrecorder
steam
thunderbird:
GNotifier
nc
telegram
signal
android-file-transfer
android-tools
android-udev
dunst
cronie
light-git
asus-kbd-backlight
adobe-source-code-pro-fonts
ttf-liberation
terminator
stremio:
Popcorn Time
Juan Carlos
RARBG
encryptic
franz
otf-font-awesome
i3lock-fancy
Alacritty
rofi
bat
xcursor-openzone
mendeleydesktop
qrencode
root (c++ framework)
ansible
baobab
caffeine
clang
cmake
duplicity
electron
emacs
evince
free-glut
gdb
git
glew
htop
inkspace
jdk-openjdk
jre-openjdk
joplin
lm_sensors
lynx
mendeley
minecraft-launcher
mongodb-bin
nodejs
npm
octave
openssh
openmpi
postman-bin
protege
python
qrenconde
redshift
ruby
saxon-he
transmission
vagrant
valgrind
virtualgl
visual-studio-code-bin
wine
xcursor-openzone
texlive-localmanager-git