Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install aspera-cli offline #152

Open
xavierv79 opened this issue Aug 13, 2024 · 6 comments
Open

How to install aspera-cli offline #152

xavierv79 opened this issue Aug 13, 2024 · 6 comments
Assignees
Labels
customer request Request from end users

Comments

@xavierv79
Copy link

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
Copy link
Member

laurent-martin commented Aug 13, 2024

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

@laurent-martin laurent-martin self-assigned this Aug 13, 2024
@laurent-martin laurent-martin added the customer request Request from end users label Aug 13, 2024
@xavierv79
Copy link
Author

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
Copy link
Member

laurent-martin commented Sep 19, 2024

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
Copy link
Author

xavierv79 commented Sep 19, 2024

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: version GLIBC_2.30' not found (required by ./ascli-20240903.Linux-x86_64)
[root@I21119407559002-azptest test-03]#

Regards,
Xavier

@laurent-martin
Copy link
Member

Ok, thanks, that was compiled for RHEL 9

@xavierv79
Copy link
Author

Hi Laurent,

Could you please provide the link for RHEL 8 version.

Regards,
Xavier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer request Request from end users
Projects
None yet
Development

No branches or pull requests

2 participants