Re: Replicating a package set on a new machine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



To generate the list, I'd propose:

pacman -Qeq > list.txt

-e : only explicitly installed packages (deps get installed anyways...)
-q : output better suited for scripts


And on the other machine, just do the obvious:

pacman -S - < list.txt

(Note the single '-', specifiying to read the list of packages from stdin).

- René

Am 05.12.21 um 22:29 schrieb Paul M. Foster via arch-general:
Folks:

Assume I've installed a bunch of packages manually on machine A. Now I want to install those same packages-- not manually-- on machine B. I can have pacman tell me what packages are installed on machine A. Now, can I take the package list from machine A and, in an automated way, have pacman then install those packages on machine B? If so, how?

Paul




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux