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.  Remove Python 3.7 after installing Python 3.9.6

    Posted Mon February 27, 2023 04:57 PM

    Hi AIX Experts,

    We have installed / configured dnf successfully and then installed Python 3.9.6 using dnf. My questions are: can we uninstall Python 3.7 that comes with dnf? Will the uninstallation of Python 3.7 cause any issue with dnf and Python 3.9.6? Can I use the following command to remove Python 3.7?

    dnf remove python3-3.7.9

    Thanks

    Mi



    ------------------------------
    Mi Wang
    ------------------------------

    #AIXOpenSource


  • 2.  RE: Remove Python 3.7 after installing Python 3.9.6

    Posted Tue February 28, 2023 02:45 AM

    AIX Toolbox python3 now refers to python3.7. We are working on making python3.9 as the default python3 for Toolbox since python3.7 is going out of support soon.
    So right now, you can't remove python3.7 as dnf depends on it. 
    We have recently uploaded python3.9-3.9.16 version which is independent of python3.7. Applications can use this python by referring to python3.9 instead of python3. 



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



  • 3.  RE: Remove Python 3.7 after installing Python 3.9.6

    Posted Tue February 28, 2023 10:43 AM

    Hi Ayappan,

    Thanks for your information. By the way, we have installed some external libraries from AIX Toolbox upon python 3.9.6. If we upgrade to python 3.9.16, do we need to do anything for those external libraries (e.g.: re-install them)?

    Thanks

    Mi



    ------------------------------
    Mi Wang
    ------------------------------