AIX

 View Only

 Install ClamAV on AIX without dnf

Saker Salama's profile image
Saker Salama posted 08/12/26 02:54 AM

Hello , i'm trying to install ClamAV on AIX without using DNF but it's asks for many needed dependencies and i'm searching for bundle installation for ClamAV   

root@test : /tmp/clamav>rpm -ihv clamav-1.4.5-1.aix7.2.ppc.rpm
warning: clamav-1.4.5-1.aix7.2.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
error: Failed dependencies:
        bzip2 >= 1.0.8 is needed by clamav-1:1.4.5-1.ppc
        curl >= 8.20.0 is needed by clamav-1:1.4.5-1.ppc
        json-c >= 0.18 is needed by clamav-1:1.4.5-1.ppc
        libcurl.a(libcurl.so.4) is needed by clamav-1:1.4.5-1.ppc
        libgcc >= 13.3.0 is needed by clamav-1:1.4.5-1.ppc
        libiconv >= 1.19 is needed by clamav-1:1.4.5-1.ppc
        libiconv.a(libiconv.so.2) is needed by clamav-1:1.4.5-1.ppc
        libjson-c.a(libjson-c.so.5) is needed by clamav-1:1.4.5-1.ppc
        libncurses.so is needed by clamav-1:1.4.5-1.ppc
        libpcre2-8.a(libpcre2-8.so.0) is needed by clamav-1:1.4.5-1.ppc
        libstdc++ >= 13.3.0 is needed by clamav-1:1.4.5-1.ppc
        libunwind.a(libunwind.so.1) is needed by clamav-1:1.4.5-1.ppc
        libxml2 >= 2.14.6 is needed by clamav-1:1.4.5-1.ppc
        libxml2.a(libxml2.so.16) is needed by clamav-1:1.4.5-1.ppc
        ncurses >= 6.6 is needed by clamav-1:1.4.5-1.ppc
        pcre2 >= 10.47 is needed by clamav-1:1.4.5-1.ppc
        xz-libs >= 5.8.3 is needed by clamav-1:1.4.5-1.ppc
        zlib >= 1.3.2 is needed by clamav-1:1.4.5-1.ppc
root@test : /tmp/clamav>rpm -ihv clamav-devel-1.4.5-1.aix7.2.ppc.rpm
warning: clamav-devel-1.4.5-1.aix7.2.ppc.rpm: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
error: Failed dependencies:
        clamav = 1:1.4.5-1 is needed by clamav-devel-1:1.4.5-1.ppc

Alexander Pettitt's profile image
Alexander Pettitt

You could pull the dependencies from the AIX toolbox and install with rpm. 

But then you will have to update ClamAV again when 1.4.6 comes out in the next seven days. 

I know seeing the issues with dnf makes it seem like a waste or time but it really is not. 

Read this When dnf breaks on AIX: a field guide to shared library failures in the AIX Toolbox and good luck