Super User is a question and answer site for computer enthusiasts and power users. 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 edited /etc/apt/source.list to have restricted and partner repository, but the results always:

sudo apt-get install libfaac-dev ....
E: Unable to locate package libfaac-dev

The package is used by audio codecs, and ffmpeg uses it.

share|improve this question

migrated from Aug 29 '12 at 11:03

This question came from our site for professional and enthusiast programmers.

On my Ubuntu desktop 11.04 Natty it will install without any trouble. Try change the source server maybe? – lllluuukke Aug 29 '12 at 2:07
what version of ubuntu you are using? – ji-ruh Jun 16 at 5:39

libfaac-dev is in multiverse repository. So, you need to edit /etc/apt/sources.list to include multiverse repository as well. deb natty main restricted universe multiverse

After you change it, run the following command to install libfaac-dev:

sudo apt-get update && sudo apt-get install libfaac-dev
share|improve this answer

This problem was KILLING me but I figured it out. It turns out that I needed to add the following lines in my /etc/apt/sources.list

deb precise-updates multiverse
deb-src precise-updates multiverse

Meaning that, for the multiverse, you should have 4 lines in total:

deb precise multiverse
deb-src precise multiverse
deb precise-updates multiverse
deb-src precise-updates multiverse

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .