# AIX Toolbox for Open Source Software

7200-03-03-1913

Install openssl 1.1.x and higher version, download openssl-1.1.2.2402.tar.Z on AIX Web Download Pack Programs.

# uncompress openssl-1.1.2.2402.tar.Z

# tar -xvf openssl-1.1.2.2402.tar
x openssl.base, 70775808 bytes, 138234 media blocks.
x openssl.license, 31744 bytes, 62 media blocks.
x openssl.man.en_US, 5326848 bytes, 10404 media blocks.

# installp -acgXYd . openssl.base
+-----------------------------------------------------------------------------+
                    Pre-installation Verification...
+-----------------------------------------------------------------------------+
Verifying selections...done
Verifying requisites...done
Results...

SUCCESSES
---------
  Filesets listed in this section passed pre-installation verification
  and will be installed.

  Selected Filesets
  -----------------
  openssl.base 1.1.2.2402                     # Open Secure Socket Layer

  << End of Success Section >>

+-----------------------------------------------------------------------------+
                   BUILDDATE Verification ...
+-----------------------------------------------------------------------------+
Verifying build dates...done
FILESET STATISTICS
------------------
    1  Selected to be installed, of which:
        1  Passed pre-installation verification
  ----
    1  Total to be installed

+-----------------------------------------------------------------------------+
                         Installing Software...
+-----------------------------------------------------------------------------+

installp:  APPLYING software for:
        openssl.base 1.1.2.2402


. . . . . << Copyright notice for openssl.base >> . . . . . . .
 Licensed Materials - Property of IBM

 5765G6281
   Copyright International Business Machines Corp. 2011, 2025.
   Copyright Baltimore Technologies Ltd. 2004.
   Copyright KISA (Korea Information Security Agency), 2007.
   Copyright Ben Laurie (ben@links.org), 2008.
   Copyright Richard Levitte <richard@levitte.org), 2004.
   Copyright The OpenSSL Project. 1998-2008
   Copyright The OpenTSA Project. 2002
   Copyright Andy Polyakov <appro@openssl.org>, 2008
   Copyright Sun Microsystems, Inc. 2002.

 All rights reserved.
 US Government Users Restricted Rights - Use, duplication or disclosure
 restricted by GSA ADP Schedule Contract with IBM Corp.
. . . . . << End of copyright notice for openssl.base >>. . . .


Successfully updated the Kernel Authorization Table.
Successfully updated the Kernel Role Table.
Successfully updated the Kernel Command Table.
Successfully updated the Kernel Device Table.
Successfully updated the Kernel Object Domain Table.
Successfully updated the Kernel Domains Table.
Successfully updated the Kernel RBAC log level.
Successfully updated the Kernel Authorization Table.
Successfully updated the Kernel Role Table.
Successfully updated the Kernel Command Table.
Successfully updated the Kernel Device Table.
Successfully updated the Kernel Object Domain Table.
Successfully updated the Kernel Domains Table.
Successfully updated the Kernel RBAC log level.
Finished processing all filesets.  (Total time:  2 mins 31 secs).

Finished processing all filesets.  (Total time:  2 mins 35 secs).

+-----------------------------------------------------------------------------+
                                Summaries:
+-----------------------------------------------------------------------------+

Installation Summary
--------------------
Name                        Level           Part        Event       Result
-------------------------------------------------------------------------------
openssl.base                1.1.2.2402      USR         APPLY       SUCCESS
openssl.base                1.1.2.2402      ROOT        APPLY       SUCCESS

Make sure /tmp and /opt has around 512MB of free space.

# df -g /tmp
# chfs -a size=+500M /tmp

# df -g /opt
# chfs -a size=+500M /opt

Running the dnf_aixtoolbox.sh script on public.dhe.ibm.com.

# chmod +x dnf_aixtoolbox.sh

# ./dnf_aixtoolbox.sh
Usage: dnf_aixtoolbox.sh <-d> <-y> <-n> -?

      -d    Install and setup dnf if yum is not installed.
            yum command will not be available only dnf command can be used.
      -y    Installs dnf, and updates yum3 to dnf yum4 if yum3 is installed.
            If no yum3 is installed then dnf and yum4 will be installed.
            yum command will also be available along with dnf.
      -n    Install dnf where both dnf can coexist if yum is installed already.
            This is not a recommended option.

# ./dnf_aixtoolbox.sh -d
...
dnf installed successfully.
Please run 'dnf update' to update packages to the latest level.

# dnf update
ksh: dnf:  not found.

# vi /etc/environment
PATH=$PATH:/opt/freeware/bin

# dnf update
AIX generic repository                                              583 kB/s | 9.3 MB     00:16
AIX noarch repository                                                36 kB/s | 3.8 MB     01:50
AIX 7.2 specific repository                                          69 kB/s | 1.4 MB     00:20
Last metadata expiration check: 0:00:25 ago on Tue Nov  4 20:17:52 CST 2025.


# dnf repolist
repo id                                                                          repo name
AIX_Toolbox                                                                      AIX generic repository
AIX_Toolbox_72                                                                   AIX 7.2 specific repository
AIX_Toolbox_noarch                                                               AIX noarch repository

# Reference

  • https://www.ibm.com/support/pages/aix-toolbox-open-source-software-get-started
  • https://community.ibm.com/community/user/blogs/sangamesh-mallayya1/2021/05/28/dnf-is-now-available-on-aix-toolbox
  • https://community.ibm.com/community/user/blogs/sangamesh-mallayya1/2022/02/09/creating-local-repo-with-dnf-and-aix-toolbox-media
  • https://community.ibm.com/community/user/discussion/ksh-dnf-not-found
Edited on