AIX Open Source

  • 1.  GIT on AIX

    Posted Wed February 06, 2019 04:40 PM

    Originally posted by: Sathish_Raj


    Hi Team,

     

    I'm been trying to install GIT - git-2.18.0-1.aix6.1.ppc.rpm installed on AIX 7.1.5.3. I did went through most of the online posts on installing yum.sh & rpm.rte to it rolling.

    But in my case, The server doesnt have connectivity to Internet, to get yum.sh installed.

    When tried to install the git rpm manually, as like others, it keep giving me a chain of dependencies. I got all of the failing dependencies from IBM ToolBox Site

    and tried to give rpm -ivh * , within the directory where I had all the rpms. Still no luck.

    Is there a way we could install yum repo locally with no outside communication. What would be situation while patching/upgrading the AIX Servers in future.

    PFA for list rpms & error I get.

    Any assistance/suggestions are much appreciated.

     

    Thanks 
    SATISH RAJ



  • 2.  Re: GIT on AIX

    Posted Thu February 07, 2019 01:08 AM

    Originally posted by: AyappanP


    Check this --> https://developer.ibm.com/articles/configure-yum-on-aix/

    And before handling rpms, one should know the basics of rpm (rpm install, upgrade..etc)



  • 3.  Re: GIT on AIX

    Posted Thu February 07, 2019 08:32 AM

    Originally posted by: Sathish_Raj


    AyappanP,Thanks for the quick response.

    As I said earlier, I'm in a situation were our servers are not connected to the internet. My client wants to know the procedure on how to get GIT installed manually

    Can you direct me with installing GIT manually through rpm commands..

    I understand its a cake walk to have yum install git rpm. But I have restrictions on not to go with it..

    Thanks



  • 4.  Re: GIT on AIX

    Posted Thu February 07, 2019 09:03 AM

    Originally posted by: AyappanP


    This forum is mainly for AIX users to bring out any issues with AIX Toolbox rpms. 

    Everything out here (RPM, YUM) is Opensource stuff. We are not here to teach about rpm install, upgrade., etc.

    In your case, you are blindly installing the rpms. Know the difference between rpm install vs rpm upgrade & why the file conflict error is coming. 



  • 5.  Re: GIT on AIX

    Posted Thu February 07, 2019 09:37 AM

    Originally posted by: Sathish_Raj


    Thanks for taking your time in educating me on how this forum, AIX Toolbox, RPM/YUM works, Which I'm already aware off, through my tenure.

    I wish you take time in understanding my request/question. Rather assuming something yourself
     

    I'm not sure, what made you think that I'm not an AIX user & Above is not an issue.  Let me put the question straight --> Do you have directions on getting git installed manually on AIX Servers. --> Yes or No.

    If you knew it, let me have it.

    If you don't. put me through someone who can help me. If none. Here it ends.


    Here, I mean the git & requisite dependent rpms which were downloaded from AIX Toolbox Site.

    If your not sure of something try to probe to get better understanding rather coming to an conclusion based on you assumption. That wont work every time.

     

    Thanks



  • 6.  Re: GIT on AIX

    Posted Thu February 07, 2019 11:54 AM

    Originally posted by: sanket


     

    Hi Sathish,

    As you know finding all dependencies in RPM is hard (because every RPM is dependent on other) hence YUM is the best way.

    But in your environment YUM is not supported hence it is very difficult.

    I tried and found following RPMs are required for git.

    So you can download all of these RPMs from the AIX toolbox and create a tar and take it to AIX.

    Then you can install using rpm -ivh * / rpm -Uvh * (depends on if you have any RPM already installed or not)

     

    git

    bash
    bzip2
    ca-certificates
    curl
    cyrus-sasl
    db
    expat
    gdbm
    gettext
    glib2
    info
    less
    libffi
    libgcc
    libssh2
    libstdc++
    ncurses
    nspr
    nss
    openldap
    perl
    python
    readline
    rsync
    sqlite
    zlib

     

    Thanks

    Sanket

     



  • 7.  Re: GIT on AIX

    Posted Thu February 07, 2019 11:58 AM

    Originally posted by: sanket


     

    One more point you should be aware of as you are doing manual install. 

    Apart from libgcc and libstdc++ all other RPMs works for any AIX (6.1, 7.1 and 7.2) but you need to install specific level of AIX rpm of libgcc and libstdc++

    Hope this will help you to install git on your AIX system.



  • 8.  Re: GIT on AIX

    Posted Thu February 07, 2019 11:30 PM

    Originally posted by: sanket


    Make sure that you have latest openssl on AIX. AIX release its openssl from AIX web download.

    https://www-01.ibm.com/marketing/iwm/iwm/web/dispatcher.do?source=aixbp

     



  • 9.  Re: GIT on AIX

    Posted Fri February 08, 2019 02:05 PM

    Originally posted by: Sathish_Raj


    Hi Sanket,

     

    Thanks for stepping in and helping me in getting GIT installed on AIX. I was able to overcome the chain of dependencies and get GIT installed successfully with the list of dependencies you have provided above..


    Steps I performed.

    Downloaded & Moved the dependent rpms locally. Then did a rpm upgrade & rpm install.

    rpm -Uvh *

    rpm -ivh *

     

    Thanks.. This should help other similar AIX users.



  • 10.  RE: Re: GIT on AIX

    Posted Mon October 11, 2021 12:58 AM
    Hi Satish,

    Can you please share me that rpm tarball which you may have downloaded?It would be of great help

    ------------------------------
    Tathagata Chatterjee
    ------------------------------



  • 11.  RE: Re: GIT on AIX

    Posted Tue October 12, 2021 05:45 AM

    Whatever tarball he used, it's long outdated (two years have passed).



    ------------------------------
    José Pina Coelho
    Kyndryl
    ------------------------------