Ibm Xlc

  • By IBM Charm Authors
juju deploy ibm-xlc
Show information
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Channel Version Revision Published Runs on
latest/stable 2 2 11 Nov 2020
Ubuntu 14.04
latest/edge 2 2 11 Nov 2020
Ubuntu 14.04




IBM XL C/C++ compiler for Linux Read more

Discuss this charm

Share your thoughts on this charm with the community on discourse.

Join the discussion

IBM XL C/C++ for Linux


IBM XL C/C++ for Linux, V13.1.3 is an advanced, high-performance compiler that can be used for developing complex, computationally intensive programs, including inter-language calls with C and Fortran programs.

Information on the fully functional IBM XL C/C++ trial version for an evaluation period of 60 days is available at: Trial Download.

To get more details about the product and useful additional resources, please visit the Product Page and IBM Knowledge Center.

Note: This charm is specifically designed to run on Power architecture (ppc64le) systems only. It will not run on AMD (amd64) or Intel (x86_64) based systems. Use uname -m to determine the architecture of your cloud instances.

For more information on Supported OS for IBM XL C/C++ please visit: OS Support.


The charm is for IBM XL C/C++ for Linux 13.1.3, Evaluation version. The charm will connect to an IBM repository containing evaluation packages for IBM XL C/C++. It will install the version of XL C/C++ compiler as specified by the user or by default the charm installs version 13.1.3. This software is governed by 2 license files:

  • IBM International License Agreement for Evaluation of Programs
    • PDF included in this charm at ./files/license-eval.pdf
  • IBM XL C/C++ for Linux V13.1.3, Evaluation License Information
    • PDF included in this charm at ./files/license.pdf

Note: Deploying this charm signifies your acceptance of the terms in the above 2 license files. If you do not accept these terms, do not deploy this charm.


IBM XLC is a subordinate charm that can be related to a service which requires a C/C++ development environment. To deploy the IBM XLC charm, follow the below steps:

juju deploy ibm-xlc

Note: By default the evaluation version 13.1.3 will be installed. If user sets an empty version config value, then also by default charm will install version 13.1.3

At this point, IBM XLC is waiting for a relationship to some other service. It can be any service or some specific service which requires C/C++ as this charm relates via the juju-info and xlc-compiler interfaces.

To test the deployment of this charm, you can deploy IBM XL C/C++ on the ubuntu unit as shown below:

juju deploy ubuntu
juju add-relation ubuntu ibm-xlc

This charm will deploy the IBM XL C/C++ compiler packages. It will also enable the manual pages and compiler error messages. Manual pages are provided for the compiler invocation commands and other utilities that are supplied with the compiler.

The charm will also create sample C and C++ programs placed in the ./files/archives path. User can compile and run these sample programs for testing purpose.

Installing IBM-XLC charm with new trial version of IBM XL C/C++

To install the IBM XL C/C++ charm with a new evaluation version available, run juju set command to set the evaluation version you want as shown below

   juju set ibm-xlc version="13.1.2"

This will uninstall the previous installation of XL C/C++ and install the evaluation version which user has specified.


See config.yaml file for more information.


IBM XL C/C++ Compiler Version to be installed from repository. By default version 13.1.3 will be set

IBM XL C/C++ Information

(1) General Information

Information on IBM XL C/C++ available at the IBM Knowledge Center.

(2) Download Information

Information on downloading the fully functional trial for an evaluation period of 60 days is available at Trial Download.

(3) Contact Information

For issues with this charm, please contact IBM Juju Support Team

(4) Known Limitations

This charm makes use of Juju Status commands, and requires juju 1.24 or greater