-
Notifications
You must be signed in to change notification settings - Fork 3
/
install.sh
executable file
·207 lines (175 loc) · 3.53 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
199
200
201
202
203
204
205
206
207
#!/bin/bash
set -eu
# Be sure to configure makepkg and pacman before doing all this
#
# sudo pacman-key -r KEYID
# sudo pacman-key --lsign-key KEYID
#
# when running `makepkg` you may also need to run this:
#
# gpg --recv-keys KEYID
noconfirm=--noconfirm
for arg; do
case ${arg} in
-i)
noconfirm=
;;
*)
echo >&2 "invalid flag: ${arg}"
echo >&2 "only -i (interactive) is supported"
exit 1;;
esac
done
sudo pacman -Sy --needed ${noconfirm} archlinux-keyring
sudo pacman -Suuy ${noconfirm}
dir=$(dirname "$0")
"$dir/install_yay.sh"
# Note that `xterm` is needed for `xmonad` under the default settings. Skype
# comes from the `multilib` repository (which allows 32-bit to be run on
# 64-bit).
# libxkbcommon-x11 is wanted by matplotlib;
# python-{numpy,scipy,pandas} are dependencies of python-statsmodels
pkgs=(
# system
alsa-utils
mlocate
ntfs-3g
zsh zsh-syntax-highlighting
# jmtpfs # optional
# files
patchutils
tree
xz
zip unzip
# Pacman
namcap
pkgbuild-introspection
# network
netctl dialog wpa_actiond wpa_supplicant
bind-tools
net-tools
netcat
whois
ntp
openssh
rsync
sshfs
# miscellaneous
aspell-en
bash-completion
highlight
# Emacs
emacs
emacs-haskell-mode
emacs-lua-mode
emacs-python-mode
auctex
# terminal applications
htop
irssi
lynx
mutt
# development
git
#git-annex-bin # not included as the checksum often fails
doxygen
gdb
strace
valgrind
jre7-openjdk
# openblas-lapack # optional
## TeX
texlive-most
texlive-langgreek
## C and C++
clang
## Haskell
cabal-install
ghc
## Python
python2
python3
python-gobject
python-google-api-python-client
python-statsmodels
python-matplotlib
libxkbcommon-x11
# X
xorg
xfce4-terminal
xterm
## X utilities
xbindkeys
xscreensaver
feh
maim slop
## XFCE
xfce4
xfce4-goodies
## Xmonad
xmonad
xmonad-contrib
xmobar
xorg-xmessage
dmenu
## visual effects
fvwm
transset-df
xcompmgr
xcursor-themes
## graphical applications
chromium
evince
firefox
gimp
inkscape
vlc
## graphical utilities
gnome-keyring
kdiff3
rdesktop
## VirtualBox (explicitly choose virtualbox-host-modules-arch, otherwise
## we might forget to install linux-headers)
# virtualbox
# virtualbox-host-modules-arch
# Yubikey
# libu2f-host
# libusb-compat
# pcsclite
# yubikey-personalization-gui
## fonts (main repo)
adobe-source-code-pro-fonts
adobe-source-sans-pro-fonts
cantarell-fonts
gnu-free-fonts
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
ttf-anonymous-pro
ttf-bitstream-vera
ttf-dejavu
ttf-droid
ttf-fira-sans
ttf-fira-mono
ttf-freefont
ttf-inconsolata
ttf-liberation
ttf-linux-libertine-g
ttf-symbola
ttf-ubuntu-font-family
## fonts (AUR)
ttf-emojione-color
ttf-envy-code-r
ttf-iosevka # with ligatures (use the “Term” variants for without)
ttf-iosevka-slab # see above
ttf-monaco
ttf-monoid
ttf-oxygen-gf
ttf-roboto
ttf-roboto-mono
ttf-share-gf
# otf-xits # fallback font for Unicode
)
pacaur -S --needed ${noconfirm} "${pkgs[@]}"
sudo systemctl enable ntpd
# sudo systemctl enable pcscd # required?