In Arch Linux I want to get a list of the packages installed and install all packages from a file. But I want to include packages from the AUR.
With pacman I can get the list of installed packages:
$ pacman -Qqe > pkglist.txt
And install packages from a list:
# pacman -S --needed - < pkglist.txt
`` `
Have you noticed https://lemmy.ml/c/archlinux ? It would probably be a more appropriate commmunity for this.
The problem is that there is a scary red banner in the wiki that says:
Warning: AUR helpers are not supported by Arch Linux. You should become familiar with the manual build process in order to be prepared to troubleshoot problems.
I don’t what to find out what they’ll do to me if I go and ask there XD. Kidding, I actually hadn’t seen it.
honestly, !bash@heapoverflow.ml would’ve been most appropriate, considering my answer was
xargs
xargs yay -S < pkglist.txt