IBM / aspera-cli

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

How to install aspera-cli offline #152

Open xavierv79 opened 3 months ago

xavierv79 commented 3 months 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 3 months 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
xavierv79 commented 2 months ago

Hi Laurent,

Could you please provide the some details step by Procedure to install this. With the above given steps we are not able to install.

Regards, Xavier

laurent-martin commented 2 months ago

If you are looking for Linux OS, there is a single-exec ascli version:

https://eudemo.asperademo.com/download/ascli-20240903.Linux-x86_64

after download, make it executable with: chmod a+x

xavierv79 commented 2 months ago

Hi Laurent, Download the file with above link and getting following error in RHEL 8 VERSION

[root@I21119407559002-azptest test-03]# cat /etc/os-release NAME="Red Hat Enterprise Linux" VERSION="8.10 (Ootpa)" ID="rhel" ID_LIKE="fedora" VERSION_ID="8.10" PLATFORM_ID="platform:el8" PRETTY_NAME="Red Hat Enterprise Linux 8.10 (Ootpa)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos" HOME_URL="https://www.redhat.com/" DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8" BUG_REPORT_URL="https://issues.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8" REDHAT_BUGZILLA_PRODUCT_VERSION=8.10 REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux" REDHAT_SUPPORT_PRODUCT_VERSION="8.10"

[root@I21119407559002-azptest test-03]# ./ascli-20240903.Linux-x86_64 --version ./ascli-20240903.Linux-x86_64: /lib64/libm.so.6: version GLIBC_2.29' not found (required by ./ascli-20240903.Linux-x86_64) ./ascli-20240903.Linux-x86_64: /lib64/libpthread.so.0: versionGLIBC_2.30' not found (required by ./ascli-20240903.Linux-x86_64) [root@I21119407559002-azptest test-03]#

Regards, Xavier

laurent-martin commented 2 months ago

Ok, thanks, that was compiled for RHEL 9

xavierv79 commented 2 months ago

Hi Laurent,

Could you please provide the link for RHEL 8 version.

Regards, Xavier