How to install aclocal on Fedora Linux?

I tried to build a project while it reports:

# ./autogen.sh 
Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory

How should I handle this? How to install aclocal?

yum install aclocal shows:

No package aclocal available.
Error: Unable to find a match.

The aclocal tool is provided by the automake package on RHEL/CentOS/Fedora. You can install the automake package to have aclocal.

Run this as root to install automake:

# yum install automake

or

# dnf install automake

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

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