• 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. mt: command not found
  2. wall Command Examples in Linux
  3. How to allow ssh with empty passwords in Linux
  4. tcpdump: command not found
  5. UNIX / Linux : Send mail with attachment using mutt
  6. smbmap: command not found
  7. What is the difference between the -i and -U options used in rpm command in Linux
  8. amixer Command Examples in Linux
  9. Linux OS Service ‘anacron’
  10. Installing Security Vulnerabilities with yum on CentOS/RHEL 5,6,7 (Cheat Sheet)

You May Also Like

Primary Sidebar

Recent Posts

  • batch: Execute commands at a later time when the system load levels permit
  • bat: Print and concatenate files
  • bastet: Clone of the game Tetris in the terminal
  • bashmarks: Save and jump to commonly used directories using 1 character commands

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright