I need to install Tesseract, that need to install autoconf automake libtool, However I got the error as follows:

sahu@sahu-desktop:/$ sudo apt-get install autoconf
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package autoconf is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'autoconf' has no installation candidate

So please help me.

  • What is your Ubuntu version? May 3, 2013 at 16:33

2 Answers 2


Make sure you have enabled all necessary repositories. Do a 'How do I enable repository' search on the site. After enabling the repositories, open a terminal and use these commands to install autoconf

sudo apt-get update
sudo apt-get install autoconf

Your error messege suggested that, you have disabled repository.


Autoconf is a GPLv2-licensed package of macros that produces a shell script "configure" to generate a Makefile and config header for a project. The configuration scripts produced by Autoconf are self-contained, so the users of your project do not need Autoconf, M4, or perl to run configure.1

To download the latest version click here, and for instructions on how to install, click here.

You need to Extract Autoconf, Build it, and Install Autoconf (must be root user)

Another way is to install from the Ubuntu Software Center,

Also To download and install click the image below.

Install via the software center

You can also follow Anwar's answer.


  • 2
    Isn't autoconf in the repositories...?
    – Thomas Ward
    May 3, 2013 at 18:39
  • 1
    This is the wrong approach unless you really need a specific (new) version
    – Chris
    May 8, 2020 at 4:37
  • @Chris Care to share the right approach?
    – Mitch
    May 8, 2020 at 14:03
  • 1
    Clearly the OP had a problem with apt setup. The correct thing to do is fix that, not just starting installing packages by hand (unless there is a very specific reason to need a version not available from your installation).
    – Chris
    May 10, 2020 at 11:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.