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
`` `
    • ajr@lemmy.mlOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      3 years ago

      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.