IBM Support

How to Determine where IBM i Open Source Packages are installed

How To


Summary

On IBM i OS r7.2 and later, when using IBM i Access Client Solutions (IBM i ACS) Open Source Package Management or the YUM infrastructure to install an open source package PRM, it is not obvious where the RPM package was installed to. This document describes a way to determine that installed location.

Steps

Technique #1: Use Access Client Solutions
IBM i Access Client Solutions has a "Show Files" button in its Open Source Package Management interface
image-20220906144028-2
Technique #2: Use the repoquery tool
Run the command "/QOpenSys/pkgs/bin/repoquery -ql <package_name>".   The following is an example for the python39 package:
/QOpenSys/pkgs/bin/repoquery -ql python39
This lists the path of files installed by the package.  From reviewing that list, it is apparent that python39 is installed to /QOpenSys/pkgs/bin/python3.9

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.2.0"}]

Document Information

Modified date:
06 September 2022

UID

ibm11171276