Remove an installed package and both its dependencies and configuration files

yay

  • Yet Another Yogurt: A utility for Arch Linux to build and install packages from the Arch User Repository.
    Also see `pacman`.
    More information: <https://github.com/Jguer/yay>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

yay -Rns {{package_name}}

click the source code to copy