AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  Bash shell In AIX

    Posted Mon June 06, 2016 02:39 AM

    Originally posted by: sakurai_tabi


    Are there any steps to install Bash shell in AIX 6.1 ?

    I have a bash shell installed in my AIX 6.1 /usr/bin/bash

    How to trace back the install time / and how it is installed?


    #AIX-Forum


  • 2.  Re: Bash shell In AIX

    Posted Mon June 06, 2016 06:39 AM

    Originally posted by: pacynka


    Bash is installed in AIX as rpm so any prerequisites must be meet first (all dependencies must be installed depending on the bash version) 

    rpm -qa will show you if bash is installed, and if you need install time you can try with: rpm -qa --queryformat '%{name} (%{installtime:date})'


    #AIX-Forum


  • 3.  Re: Bash shell In AIX

    Posted Mon June 06, 2016 03:35 PM

    Originally posted by: AncientAIXer


    You can get the install time with:

     

    rpm -qa --queryformat '%{name}-%{version}-%{release}.%{arch} %{installtime:date}\n'|awk '{FS=" "}{printf("%-48s %s\n",$1,$2)}'|sort
     

    lslpp use to signify RPM packages with a R:, but that seems to be deprecated except for the -L flag which does not show the install time.  Also you can install RPMs with smitty.  I think you can also use installp and use the same identifiers that smitty displays, but that might be deprecated as well.  There is nothing to indicate how the package was installed.

     

    Addendum: smitty actually will tell you to use geninstall for ISMP product installation.  It will do RPMs as well.  See man pages.  I haven't done this in quite some time, but if it would also do prereqs that would be cool.


    #AIX-Forum