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
`` `
You must log in or register to comment.
xargs yay -S < pkglist.txt