…I noticed that you did not use sudo there. Does that mean that ths package is installed somewhere else, or should we use sudo?..
Very good observation. Glad you’ve noticed it.
Don’t worry. yaourt and other Arch package managers will install all packages in the standard location only. Any package may be removed by the standard pacman later.
yaourt is never launched with root privileges. It is always executed from a standard user account. sudo is not needed for yaourt.
$ yaourt [commands]
[commands] require elevated privileges, yaourt will ask for the root’s password.
Any package installed by pacman, yaourt, pamac, pacmanxg, other package managers may be subsequently uninstalled by pacman. Like this
$ sudo pacman -Rcnsu [package]
The command will remove the package and all its dependencies.