Terminal Command To Install All Packages Containing "LibRetro"?


I need a terminal command to install all packages containing “LibRetro”.
I am on Manjaro KDE.

Thanks in advance!


pamac install $(pamac search --quiet libretro)


Thanks for the command, but it does not complete:

Generating libretro-beetle-psx-hw-git information...
==> ERROR: PKGBUILD does not exist.
Error: Failed to prepare transaction: Failed to clone libretro-beetle-psx-hw-git build files

What can I type to exclude above package that does not work?


Are you sure you want to install all 51 repository packages? :scream:

I would exclude all AUR packages unless you want 120 additional packages installed. Some could be out of date and/or completely broken.

pamac install $(pamac search --no-aur --quiet libretro)
1 Like

Well, ok, but how can I just install all packages that are working?

The ones in the repo will work, because they’re tested. On account of the AUR, you can never be sure, and there is no way of finding out without attempting to install them.


Ok, thank you…

Why not just sudo pacman -S libretro ?
It’s a package group with 39 packages.


I’ve marked this answer as the solution to your question as it is by far the best answer you’ll get.

However, if you disagree with my choice, please feel free to take any other answer as the solution to your question or even remove the solution altogether: You are in control! (If you disagree with my choice, just send me a personal message and explain why I shouldn’t have done this or :heart: or :+1: if you agree)

P.S. In the future, please don’t forget to come back to your question after your issue has been solved and click the 3 dots below the answer to mark a solution like this below the answer that helped you most:
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status.

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