Add --needed parameter to pacman install command
This avoids reinstalling already installed packages.
encoding
(there is some overflow in unsafe code, will test again)
doc: fix typos
not test yet