On Saturday, 26 February 2022 12:07:40 GMT Ramces Tampo-og Red wrote:
> spareproject776 <[email protected]> writes:
> > On Sat, Feb 26, 2022 at 06:47:12PM +0800, Ramces Tampo-og Red wrote:
> >> Hello list,
> >> 
> >> I'm a sort-of  newbie gentoo user and  I just wanted to ask  if what I'm
> >> thinking is possible or if I'm just  being stupid. But either way, I was
> >> wondering if it  is possible to export a list  of all installed software
> >> in emerge and use that to recreate on another gentoo install.
> >> 
> >> I have  a bunch of PCs  that are all  similarly specced and I  wanted to
> >> create a minimal install "template" for all of them. If not, would it be
> >> possible to pipe-in to emerge from stdin an output of all of the package
> >> names that I wanted it to emerge?
> >> 
> >> I'm really sorry if this might  be a stupid question. I'd appreciate any
> >> guidance in the matter.
> >> 
> >> Cheers!
> > 
> > emerge -avbk $(tr '\n' ' ' < /var/lib/portage/world)
> > 
> > If your doing more than one box binhost / binpkg has a far higher return
> > for alot more effort upfront provided you can live with -mtune=generic.
> 
> Thanks! I will check this out.

This is the page which explains how to build binary packages on one host and 
then install them on other PCs, without having to re-complile/rebuild them 
from source:

https://wiki.gentoo.org/wiki/Binary_package_guide

It saves a lot of time, especially if you want to update slower machines.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to