You are not logged in.

#1 2014-11-11 23:59:51

cyberpsych0sis
Member
Registered: 2014-11-02
Posts: 47

Installing the same programs on multiple systems

I've gotten used to installing the arch system. But I do have a slightly annoying problem that I feel should have a rather simple solution. I am usually running the same programs on all of my systems and it's a bit annoying to go through and install all of those programs:
pacman -S prog1 prog2 prog3 prog4 etc

My question:
1. Is there a way to script the installation of multiple programs?

I'm aware that I can query all my installed programs and add them to a list, and then run pacman on said list, but is there a simpler way? and will that way work with AUR programs also?

2. How do you sync all of your config files? Short of scping the files over from your older system?


3. What method do you use to get your systems setup rapidly?



*Note, this is asking for a solution to systems with different hardware.

Last edited by cyberpsych0sis (2014-11-12 00:29:54)

Offline

#2 2014-11-12 00:16:38

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: Installing the same programs on multiple systems

Clonezilla, then edit the necessary files to make the systems unique.

That's how we rolled out our linux lab upgrade when we switched to arch.

Offline

#3 2014-11-12 00:24:34

cyberpsych0sis
Member
Registered: 2014-11-02
Posts: 47

Re: Installing the same programs on multiple systems

Kopkins wrote:

Clonezilla, then edit the necessary files to make the systems unique.

That's how we rolled out our linux lab upgrade when we switched to arch.

I know this will work with systems running the same hardware, but would it work on systems that do not?

Offline

#4 2014-11-12 00:41:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Installing the same programs on multiple systems

AUR packages have to compiled first, but you can share packages between machines as long as they use the same architecture.
Would a shared package cache help? I'm not sure what are you looking for, if running a script t fetch and install a bunch of packages is too much. There should be a way to broadcast a command to multiple systems at once.

Are you running dozens of servers, are you talking about a few computers in your house or ...? How often do you set up a new Arch system?

Offline

#5 2014-11-12 01:29:57

cyberpsych0sis
Member
Registered: 2014-11-02
Posts: 47

Re: Installing the same programs on multiple systems

karol wrote:

AUR packages have to compiled first, but you can share packages between machines as long as they use the same architecture.
Would a shared package cache help? I'm not sure what are you looking for, if running a script t fetch and install a bunch of packages is too much. There should be a way to broadcast a command to multiple systems at once.

Are you running dozens of servers, are you talking about a few computers in your house or ...? How often do you set up a new Arch system?

Currently I've been experimenting with about 7 different machines (All running different hardware, from 64bit servers to small ARM tablets), but this number could change (Expand) with upcoming projects. I anticipate building, and tearing down multiple systems in the future, which is why I ask.

A shared package cache could be beneficial, could you elaborate?

Offline

#6 2014-11-12 01:34:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Installing the same programs on multiple systems

Offline

#7 2014-11-12 01:52:46

cyberpsych0sis
Member
Registered: 2014-11-02
Posts: 47

Re: Installing the same programs on multiple systems

Interesting Idea, this is a great solution for installing mutliple systems at once, but my current situation means that I'll be installing systems sporadically... but this could still work...

Thanks!

Last edited by cyberpsych0sis (2014-11-12 01:53:30)

Offline

#8 2014-11-12 02:29:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Installing the same programs on multiple systems

Offline

#9 2014-11-12 03:54:16

cyberpsych0sis
Member
Registered: 2014-11-02
Posts: 47

Re: Installing the same programs on multiple systems

That's it, perfect solution!
Thanks Karol. big_smile

Offline

Board footer

Powered by FluxBB