IBM / aspera-cli

IBM Aspera CLI
Apache License 2.0
73 stars 17 forks source link

How to install aspera-cli offline #152

Open xavierv79 opened 1 month ago

xavierv79 commented 1 month ago

Hi Team,

gem install aspera-cli directly connects to https://rubygems.org/. For security reason if this url is not allowed in the network, how to procced with "gem install aspera-cli".

Is there any offline way to install aspera-cli.

laurent-martin commented 1 month ago

Yes, sure.

For an offline installation, there is some information in the manual:

https://github.com/IBM/aspera-cli?tab=readme-ov-file#installation-in-air-gapped-environment

Currently, there is no pre-packaged install file, but it should come before end of year for major platforms: macOS, Linux, Windows.

The procedure is:

A. retrieve the files on a system with internet access:

  1. get the platform's installation package for Ruby

  2. retrieve aspera-cli gem and dependencies (in a shell, Linux or macOS):

    https://github.com/IBM/aspera-cli/blob/develop/examples/build_package.sh

  3. get the SDK from: https://ibm.biz/aspera_sdk

  4. save all those files in an archive file (tar or zip)

B. transfer the archive to the system without internet

  1. install Ruby
  2. install the gems
  3. install the SDK