As far as I understand it, yay and paru are simply aur helpers. When installing a package from the arch repos, they rely on pacman.
So can I use yay, paru and pacman interchangeably?
Or can they conflict with each other and mess things up?
For example I install a package with yay, and now try to remove it with paru, octopi, …
And how do pamac and octopi play into this? Can I use all 5 package managers simultaneiously or will they create conflict with each other? Do they track dependencies, … and what other managers have installed?
Don’t do that. That is really for Manjaro only.
Octopi is fine.
They all use pacman to answer your question.
The only difference is that wrappers will have directories for AUR packages. You can clear these individual (and self-contained) directories by using the wrapper that installed the package.
They generally won’t conflict with each other even if you use one wrapper to install a package, and another to update it.
Please, I beg you, and for your sake: If you are not using Manjaro, do not use pamac. Pretend it doesn’t exist.
This script is aimed at fully updating your system by checking for any necessary hooks that may need to be run after certain package updates. It’s meant for ease-of-use.