How do package managers work together?

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?

Kind regards
huebi

Welcome to the community! :vulcan_salute: :enos_flag:

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.

1 Like

Will I still need to use the eos-update script?

Somehow it updates some packages that yay didn’t

Does pamac pull from the manjaro repos (which are cloned arch repos?).

Please, I beg you, and for your sake: If you are not using Manjaro, do not use pamac. Pretend it doesn’t exist.


image


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.

3 Likes

@ddnn Thanks for your answer.

I am only using yay and pacman and prefer a cli solution.
However, I would still like to know the differences.

For a comparison: https://wiki.archlinux.org/title/AUR_helpers

And for detailed info:

For this thing you shouldn’t use:
pamac: https://wiki.manjaro.org/index.php/Pamac

4 Likes

Most (perhaps all) of the issues I have seen being reported on pamac is breakage when the
Arch’s repos rolls faster than Manjaro’s.

Pamac depends on some packages (libpamac for example) which are exclusively from Manjaro’s source.

See for example: https://forum.endeavouros.com/search?q=libpamac

5 Likes

Thanks @pebcak @ddnn !
Now I got all the knowledge I was looking for.

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.