Welcome to the Linux Foundation Forum!

Unable to install packages on Redhat Linux 8.8

Good day. I'm busy with an installation on Redhat Linux. I'm trying install a package but when I do the install I get the following:

[root@server01 ip]# ./install.sh
/tmp/2023_11_20_07_20_59_596333/install.sh: line 86: ./gunzip: No such file or directory
/tmp/2023_11_20_07_20_59_596333/install.sh: line 86: ./tar: No such file or directory
/tmp/2023_11_20_07_20_59_596333/install.sh: line 87: ./gunzip: No such file or directory
/tmp/2023_11_20_07_20_59_596333/install.sh: line 87: ./tar: No such file or directory
/tmp/2023_11_20_07_20_59_596333/install.sh: line 101: ./Perl: No such file or directory
/tmp/2023_11_20_07_20_59_596333/install.sh: line 91: ./cleanup.sh: No such file or directory

What am I missing here, can this be a subscription related issue or a Compatibility Package that needs to be installed?

Answers

  • What packages?

  • The error messages indicate missing commands and files such as gunzip, tar, Perl, and cleanup.sh. This occurs because of absent dependencies or required packages.

    To fix this, install the necessary dependencies using your package manager. For example, on a Red Hat-based system use:

    sudo dnf install gzip tar perl
    

    On a Debian-based system use:

    sudo apt-get update
    sudo apt-get install gzip tar perl
    

    Ensure that cleanup. sh is present in the same directory as the install.sh script or adjust the paths accordingly in the script.

Categories

Upcoming Training