• 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. CentOS / RHEL 7 : How to reinstall GRUB2 from rescue mode
  2. avifenc Command in Linux with Examples
  3. eyeD3 Command Examples in Linux
  4. CentOS / RHEL : How to Disable and Blacklist Linux Kernel Module to prevent it from loading automatically
  5. grep: command not found
  6. CentOS / RHEL : iptables troubleshooting guide
  7. Couldn’t find device with uuid [UUID] – LVM Not Active on Reboot
  8. How To Execute The Pstack Command On CentOS/RHEL
  9. RHEL/CentOS 6,7 : How to caculate the size of hugepage used by a specific process/application
  10. How to Change runlevels/targets using systemd in Ubuntu

You May Also Like

Primary Sidebar

Recent Posts

  • ncat Command Examples in Linux
  • ncat: command not found
  • nautilus Command Examples in Linux
  • namei: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright