Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Instalingl Yum on IBM i
#1. Download the entire directory at
#2. Upload the entire directoy to IBM i ifs
#3. Change the baseurl in /QOpenSys/etc/yum/repos.d/ibm.repo to point to ifs directory
# FROM: baseurl=
# TO: baseurl=file:///path/to/local/repo
# EXTO: baseurl=file:///QOpenSys/etc/yum/IBMRepoLocalMirror/repo
vi /QOpenSys/etc/yum/repos.d/ibm.repo
system -i "RUNSQLSTM SRCSTMF('bootstrap.sql') COMMIT(*NONE)"
ls /tmp
cat /tmp/bootstrap.log
system -i "QSH CMD('touch -C 819 /tmp/bootstrap.log; /QOpenSys/usr/bin/ksh /tmp/ > /tmp/bootstrap.log 2>&1')"
ls /tmp
cat /tmp/bootstrap.log [Errno 12] Timeout on (28, 'Connection timed out after 30031 milliseconds')
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: ibm. Please verify its path and try again

This comment has been minimized.

Copy link

@kadler kadler commented Jan 24, 2019

You can use http or https urls now, though the ACS installer and SQL installer still require FTP to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment