1 |
tastytea <gentoo@××××××××.de> writes: |
2 |
> On 2022-02-26 05:07-0600 Dale <rdalek1967@×××××.com> wrote: |
3 |
> |
4 |
>> Ramces Tampo-og Red wrote: |
5 |
>> > Hello list, |
6 |
>> > |
7 |
>> > I'm a sort-of newbie gentoo user and I just wanted to ask if |
8 |
>> > what I'm thinking is possible or if I'm just being stupid. But |
9 |
>> > either way, I was wondering if it is possible to export a list of |
10 |
>> > all installed software in emerge and use that to recreate on |
11 |
>> > another gentoo install. |
12 |
>> > |
13 |
>> > I have a bunch of PCs that are all similarly specced and I |
14 |
>> > wanted to create a minimal install "template" for all of them. If |
15 |
>> > not, would it be possible to pipe-in to emerge from stdin an output |
16 |
>> > of all of the package names that I wanted it to emerge? |
17 |
>> > |
18 |
>> > I'm really sorry if this might be a stupid question. I'd |
19 |
>> > appreciate any guidance in the matter. |
20 |
>> > |
21 |
>> > Cheers! |
22 |
>> > |
23 |
>> |
24 |
>> |
25 |
>> There is a file that contains all the packages you have installed. It |
26 |
>> is located here: |
27 |
>> |
28 |
>> /var/lib/portage/world |
29 |
>> |
30 |
>> One could copy that file to another system and do a emerge @world to |
31 |
>> install the same list of packages. Depending on what all you have |
32 |
>> installed, it could confuse emerge and not be doable. In the past, I |
33 |
>> had a copy of the file and I emerged them a few at a time. It's worth |
34 |
>> trying by just coping the file tho. It just might work. |
35 |
> |
36 |
> It is safer to copy the world file to /etc/portage/sets/¹ and then |
37 |
> emerge the set. This way portage won't think that the packages are |
38 |
> already installed. So you could copy it to |
39 |
> /etc/portage/sets/minimal-install and install it with emerge -a |
40 |
> @minimal-install. |
41 |
> |
42 |
> Kind regards, tastytea |
43 |
> |
44 |
> ¹ <https://wiki.gentoo.org/wiki//etc/portage/sets> |
45 |
> |
46 |
|
47 |
That's clever. I'll read up on that, thanks! |
48 |
|
49 |
-- |
50 |
. * + |
51 |
+ Ang kalayaan ay dili gihatag, ini'y giabot. |
52 |
* + {gopher,gemini}://kalayaan.xyz * |
53 |
. C4AE 5D53 46A0 01DF 6E92 CB46 92D7 9FBB AB9F 3E37 . |