Workflow: Offline

Please ignore the offline workflow if your target machine has internet access!

Sometimes a user or an organization has the requirement that downloaded packages be virus-checked before installation, or that the actual installation be done on a machine without internet access. We here describe a basic offline workflow using gsm (gempa software manager) enabling this. Note that on some systems, the command gsm has to be replaced by ./gsm. Replace the exemplary packages seiscomp and tools by your actual packages.

First time

On online machine

Download and install the gsm as described in Installation and Setup.

Install required SeisComP or gempa packages in download-only mode, e.g.:

./gsm install -d seiscomp

On offline machine

cd ~
mkdir install
cd ~/install

Copy gsm directory from online machine

scp -r user1@online-machine:~/install/gsm user2@offline-machine:~/install

Install required packages in offline mode

./gsm install -o seiscomp

Subsequent times

On online machine

Go to gsm directory:

cd ~/install/gsm

Remove files in packages directory to reduce virus-checking effort:

./gsm clean packages

Perform update via gempa repository:

./gsm update

Install required packages in download-only mode, e.g.:

./gsm install -d seiscomp

On offline machine

Go to gsm directory:

cd ~/install/gsm

Clean sync and packages directories:

./gsm clean all

Copy directories gsm/sync and gsm/packages from online machine to offline machine using memory stick or scp

Install latest version of gsm (don’t force reinstall if already latest):

./gsm install -o gsm

Install new versions of all previously installed packages in offline mode:

./gsm install -o