Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to install asterisk on Ubuntu 10.10

I would like to know what the configure options were that were used to generate the ubuntu package of asterisk

My favorite server distro is Slackware and on that I just reference the Slackbuild file to find out how a package was made and possibly customised in order to remake it with a newer source, but I cannot figure this out on Ubuntu. I am under time pressure now, so I would appreciate some pointers.

Thank you!

share|improve this question

The easiest thing to do may be to look at the build logs for the package in question. You can find them by starting at, e.g.,, then follow the link for the version you care about (in this case,

Under the "Builds" header, you'll see a link for each architecture the package was built on. Don't worry about this too much, and just pick one - I'll look at amd64.

On the build record page, there's a link to the buildlog -

And if you search the log for "./configure", you'll find this:

PATH=$PATH:/build/buildd/asterisk- ./configure \
        --host=x86_64-linux-gnu --build=x86_64-linux-gnu \
        --prefix=/usr \
        --mandir=\${prefix}/share/man \
        --infodir=\${prefix}/share/info \
        --with-cap \
        --with-gsm \
        --with-imap=system \
        --with-pwlib=/usr/share/pwlib/include/ \
share|improve this answer

I think that you won't be able to see the configure options from the binary (.deb) package.
You can just find some information regarding the dependencies involved by using:

apt-cache showpkg asterisk

If you need to check the configure options, i think you should download the source files by typing:

apt-get source asterisk

and then check for the information you need in the debian/rules file.

share|improve this answer
Thanks for that. I see all the patches now that were applied, but I don't see the actual configure command used anywhere in the files retrieved by apt-get source asterisk. That's not necesarily important for this package, but in general it is something I would like to know. – Keith Jun 13 '11 at 15:44
As @Pavlos G. said, see in the file asterisk-, go to line 61. – enzotib Jun 13 '11 at 20:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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