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
`` `

xargs yay -S < pkglist.txt

Have you noticed https://lemmy.ml/c/archlinux ? It would probably a more appropriate commmunity for this.

@ajr@lemmy.ml
creator
link
fedilink
2
edit-2
2Y

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

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

  • 0 users online
  • 5 users / day
  • 20 users / week
  • 27 users / month
  • 16 users / 6 months
  • 20 subscribers
  • 684 Posts
  • 1.7K Comments
  • Modlog