Node.js v20 and Other Updated Packages Require New IBM i Repositories

IBM i open source for businessAs we mentioned in our article on installing ODBC via yum, the latest IBM i open source packages require new repositories.

A notable example is Node.js v20. When we hear users say, “I don’t see Node.js v20 listed in available packages, and yum returns ‘No package nodejs20 available‘,” the reason invariably is that the new repositories, ibmi-base and ibmi-release, have not been installed.

How to install the new repositories

The ibmi-repos package, available in IBM i 7.3 and higher, installs the new repositories.

Install ibmi-repos from an SSH terminal or the equivalent clicks from ACS Open Source Package Manager:

  • yum install ibmi-repos
  • yum upgrade ibmi-repos

Note: Since the yum package “requires” ibmi-repos, upgrading yum also works.

Once that’s done, you can install packages from ibmi-base and ibmi-release.

What if the old ibm repository causes errors?

The old ibm repository may contain obsolete settings, such as using ftp:// or insecure http://. After you install the new repositories as directed above, you will no longer need the old ibm repository. If you get download errors mentioning repository ibm, you can disable it. Using any file editor, even WRKLNK, edit this file: /QOpenSys/etc/yum/repos.d/ibm.repo and change the value enabled=1 to enabled=0. You can even delete the ibm.repo file altogether once you are confident it is not needed.

More information about the new repositories

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.