• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

autoreconf: command not found

by admin

The GNU autoreconf tool, updates configure scripts by running autoconf, autoheader, aclocal, automake, and libtoolize in specified directories and subdirectories. This command is seldom invoked manually. It is usually called automatically from other autoconf tools.

If you encounter below error:

autoreconf: command not found

you may try installing below package as per your choice of distribution.

Distribution Command
OS X brew install autoconf
Debian apt-get install autoconf
Ubuntu apt-get install autoconf
Alpine apk add autoconf
Arch Linux pacman -S autoconf
Kali Linux apt-get install autoconf
CentOS yum install autoconf
Fedora dnf install autoconf
Raspbian apt-get install autoconf
Docker docker run cmd.cat/autoreconf autoreconf

autoconf vs autoreconf

Running autoconf is simple: Just execute it in the same directory as your configure.ac file. Running autoreconf has exactly the same effect as running autoconf, except that autoreconf will also do the right thing when you start adding Automake and Libtool functionality to your build system. That is, it will execute all of the Autotools in the right order based on the contents of your configure.ac file.

autoreconf is smart enough to only execute the tools you need, in the order you need them, with the options you want (with one caveat that I’ll mention shortly). Therefore, running autoreconf is the recommended method for executing the Autotools tool chain.

Filed Under: Linux

Some more articles you might also be interested in …

  1. chkconfig Command Examples in Linux
  2. head Command Examples in Linux
  3. vncserver fails with “Starting VNC server: no displays configured”
  4. How to Convert a Directory to Partition in Linux
  5. “ntpq -pn” command returns with error “Name or service not known”
  6. How to edit Virtual Machine Hardware in RedHat Virtualization
  7. ncview: command not found
  8. How to Disable Ctrl+c or Ctrl+z Using the “trap” Command in Linux
  9. RPM : package installation Error : cpio: read failed
  10. Basics of Ethernet Bonding in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • grpck command – Remove corrupt or duplicate entries in the /etc/group and /etc/gshadow files.
  • xxd command – Expressed in hexadecimal form
  • sesearch: command not found
  • macof: command not found

© 2022 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright