Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  ksh: dnf: not found

    Posted Mon August 01, 2022 02:53 AM
    Hi,,,,I just installed dnf on AIX 7.1 running command ./dnf_aixtoolbox.sh -d ( no yum installed ) with status dnf installed successfully.

    After I running update using command "dnf update" I am facing the error " ksh: dnf:  not found"
    How my OS didn't found dnf command?
    Do  I need to do some setup on my AIX  ?
    Thank you



    ------------------------------
    I GUSTI KETUT ARTITAYASA
    ------------------------------

    #AIXOpenSource


  • 2.  RE: ksh: dnf: not found

    Posted Mon August 01, 2022 03:28 AM
    You need to have "/opt/freeware/bin" In your PATH.
    Toolbox rpms ships files in /opt/freeware directory.

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: ksh: dnf: not found

    Posted Tue August 02, 2022 02:49 AM
    Hi...thank you for reply.

    I have done to add PATH /opt/freeware/bin like this:

    PATH=/usr/bin:/etc:/usr/sbin:/opt/freeware/bin:/usr/ucb:HOME/bin:/usr/bin/X11:/sbin:.

    export PATH

    but still not work and facing the same error

    ------------------------------
    I GUSTI KETUT ARTITAYASA
    ------------------------------



  • 4.  RE: ksh: dnf: not found

    Posted Tue August 02, 2022 03:16 AM

    Then you need to debug further. 
    Check whether dnf is present in /opt/freeware/bin. 
    Also it depends on "/opt/freeware/bin/python3_32", so check it's presence as well. 



    ------------------------------
    Ayappan P
    ------------------------------



  • 5.  RE: ksh: dnf: not found

    Posted Tue August 02, 2022 12:10 PM
    Please verify if dnf installed correctly. 
    Check with rpm command.

    # rpm -qa | grep dnf

    If dnf rpm is installed then verify that dnf binary is present in /opt/freeware/bin/dnf


    ------------------------------
    SANKET RATHI
    ------------------------------