Removing unused package

When using ArchLinux, I wanna minimize the packages.
This command can delete unused packages and configuration file. And aloso you can delete orphaned packages.

※ Before you take care to delete the configuration file also make a backup

$ pacman -Rns $(pacman -Qtdq)

Removing unused packages (orphans)

関連記事