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


#Servers
#Opensource
 View Only
  • 1.  Can we install Python v3.9.6 without internet connection?

    Posted 10/19/22 07:21 PM
    Hi,

    We recently installed dnf and found it is bundled with python 3.7.9, But our users need python v3.9.6. When we tried to install Python v3.9.6 rpm, dnf asked for internet connection to retrieve repo information. Our server doesn't have internet connection due to security concern. Is there a way we can get around this? (I thought after the dnf installation, the repository will be created automatically)

    Thanks

    root [xxxxxx] /tmp/new-libs-py3.9: dnf install python3.9-3.9.6-1.aix7.1.ppc.rpm
    AIX generic reposito     [         ===        ] ---  B/s |   0  B     --:-- ETA

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

    #AIXOpenSource


  • 2.  RE: Can we install Python v3.9.6 without internet connection?

    Posted 10/20/22 02:42 AM
    Edited by Zaki Jääskeläinen 10/20/22 03:04 AM
    If you're using yum or dnf to install packages then these come from repositories which can reside either locally or on a remote server. By default dnf sets up for accessing IBM's repositories. You can build them locally. If you have access to IBM ESS then you can download the full Linux Toolbox as an ISO. This have already prepared repodata for each repository (noarch, ppc, ppc-x.x, etc). The alternative is to use the rpm command and manually resolve the dependencies. I just did that yesterday for installing python 3.7 and only needed 10 additional packages as the target server already had some dependencies installed.

    Edit: this page on using yum on AIX should still be relevant.

    ------------------------------
    Zaki Jääskeläinen
    ------------------------------



  • 3.  RE: Can we install Python v3.9.6 without internet connection?

    Posted 10/20/22 09:46 AM
    Edited by Mi Wang 10/20/22 09:47 AM
    Hi Zaki,

    Thanks for the information. I am wondering if the Linux ToolBox ISO can be used for AIX environment as we are on AIX? I checked the web page referred by 'this page' and I see it all uses yum commands. How can I transfer them to related dnf commands?

    Thanks in advance

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



  • 4.  RE: Can we install Python v3.9.6 without internet connection?

    Posted 10/20/22 09:49 AM
    Hi Zaki,

    Thanks for the information. I am wondering if the Linux ToolBox ISO can be used for AIX environment as we are on AIX? I checked the web page referred by 'this page' and I see it all uses yum commands. How can I transfer them to related dnf commands?

    Thanks in advance

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



  • 5.  RE: Can we install Python v3.9.6 without internet connection?

    Posted 10/20/22 11:10 AM
    The packages on the Linux Toolbox ISO are for AIX only. But the contents of it can be stored in repositories hosted on either AIX or Linux.
    Regarding dnf and yum. dnf is an updated and improved version of yum. Most yum commands will work the same just by replacing yum with dnf.

    ------------------------------
    Zaki Jääskeläinen
    ------------------------------



  • 6.  RE: Can we install Python v3.9.6 without internet connection?

    Posted 10/20/22 03:08 PM
    The current Toolbox ISO should contain all of the repo data to do an install, and thus not need an Internet connection. 

    Sent from my iPad





  • 7.  RE: Can we install Python v3.9.6 without internet connection?

    Posted 10/20/22 05:51 PM
    Stephen,

    Can you please provide the steps or some link regarding how to complete the repo set up locally with Toolbox ISO?

    Thanks in advance

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



  • 8.  RE: Can we install Python v3.9.6 without internet connection?

    Posted 10/20/22 07:20 PM
    I think that there was already a thread on this on the forum (I'm the one that asked for this to happen, and I eventually got a reply that it was accomplished). If you can't find it fairly quickly, or if there aren't instruction on the ISO, let me know and I'll dig something up for you.

    Sent from my iPad





  • 9.  RE: Can we install Python v3.9.6 without internet connection?

    Posted 10/21/22 03:05 AM
    Here is the blog post for same 
    https://community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2022/02/09/creating-local-repo-with-dnf-and-aix-toolbox-media

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