There is a network of n machines running Debian OS and access to them via ssh. There is also a single repository disk.

How to install in parallel a set of packages from this disk on all n machines?

    2 answers 2

    1. on any publicly accessible machine, “share” the disk contents using any suitable protocol: http, nfs, samba, ftp, etc.
    2. on each of the n machines, add the appropriate line in /etc/apt/sources.list (or better, in a separate file in /etc/apt/sources.list.d/ ).
    3. On each of the n machines, update the package list ( sudo apt-get update ).
    4. install the necessary packages on each of the n machines ( sudo apt-get install ... ).

    how to execute the same command on multiple machines in parallel, I described, for example, here: https://ru.stackoverflow.com/a/439394/178576

    ansible / puppet / chief / salt / etc?