How to install “autom4te” on Alpine Linux


When trying to build applications on Alpine Linux, you sometimes see messages like

sh: autom4te: not found
aclocal: error: autom4te failed with exit status: 127

but when you try to apk install autom4te you see that the package can not be found:

ERROR: unable to select packages:
  autom4te (no such package):
    required by: world[autom4te]


autom4te is available from the autoconf package. Therefore, in order to fix the issue, you can run

apk install autoconf