Do Arch Wiki :
To list all packages no longer required as dependencies (orphans):$ pacman -Qdt
Ou, para remover de forma recursiva os órfãos :
orphans() {
if [[ ! -n $(pacman -Qdt) ]]; then
echo "No orphans to remove."
else
sudo pacman -Rs $(pacman -Qdtq)
fi
}