References:
Install
sudo pacman -S --needed texlive-latexrecommended
To change the package install location (it defaults to ~/texmf/), change the TEXMFHOME environment variable (add the following command to you .bash_profile):
export TEXMFHOME="$HOME/.local/texmf"
As user, execute
export TEXMFHOME="$HOME/.local/texmf"
tlmgr init-usertree
Install packages
tlmgr --usermode install \
import \
subfiles \
commath \
framed \
pgf \
makecmds
For auxiliary programs (for example, pdfjam), install
sudo pacman -S --needed texlive-binextra
For portuguese language support, install
sudo pacman -S --needed texlive-langportuguese
For image manipulation, install
sudo pacman -S --needed imagemagick