Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. 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 have been at this for so long that no one short of John Skeet can tell me to RTFM.

I am trying to install VLC as per this answer and these instructions, but that installation requires several (read 'dozens') of modules, one of which in turn requires libfaac-dev. Installing that should be relatively painless:

sudo apt-get install libfaac-dev

However, I get the following error

E: Unable to locate package libfaac-dev

Which, turns out is due to the libfaac-dev package being technically not free so it is in the 'multiverse' respositories. So all you have to do is edit your /etc/apt/sources.list file and add a few repository addresses. But 'multiverse' is for Ubuntu, and Raspi runs on Debian 7.0 ("wheezy") so it uses a different system altogether (see here).

At this point I had so many tabs open, and I was trying to install so many dependencies of dependencies that I hit a wall, so my questions are:

  1. Is it possible to install libfaac-dev on Raspi?
  2. If so, is it even necessary (ie. not already installed)?
  3. If so, how do I install libfaac-dev?
share|improve this question
Any luck with this? I have the same problem except with the libfame-dev package. – me-- Jan 11 '14 at 6:28
See here for my related question. – me-- Jan 11 '14 at 6:38

The answer by Pouet nearly did it for me, but the following list took it all the way:

  1. Edit your apt-get source list by adding another source. sudo nano /etc/apt/sources.list Paste in deb http://www.deb-multimedia.org/ wheezy main non-free on a new line. Save and exit.
  2. sudo apt-get install debian-keyring
  3. Next, we would perform sudo apt-get update, but it will complain that the public key for the new source is missing. You should probably go ahead and try it before continuing, because I would strongly recommend against blindly installing keys that you don't know what they are just because som random guy (me) told you so. apt-get will complain about key 07DC563D1F41B907 (which has fingerprint 1F41B907) is unknown.

    The actions 4 and 5 need to be properly run as root (sudo bash, and then executing them), simply prepending every command with sudo did not do it for me.

  4. gpg --keyserver pgp.mit.edu --recv-keys 1F41B907

  5. gpg --armor --export 1F41B907 | apt-key add -
  6. sudo apt-get update
  7. sudo apt-get install libfaac-dev
share|improve this answer

You would have to compile it yourself if it's not in the repositories and no one else is offering it.

apt-cache search aac | grep aac | grep dev
libaac-tactics-ocaml-dev - Coq tactics for reasoning modulo AC (devt files)
libaacs-dev - free-and-libre implementation of AACS (development files)
libvo-aacenc-dev - VisualOn AAC encoder library (development files)
libvoaacenc-ocaml-dev - OCaml interface to the vo-aacenc library -- developpement files
science-dataacquisition-dev - Debian Science data acquisition development packages
share|improve this answer

It doesn't seem like there is a prebuilt package for arm, at least not according to the packages site: http://pkgs.org/download/libfaac-dev

What could do is try to download an build the source package. If the dependencies are met, it should be as easy as

$ apt-get -b source faac
$ sudo dpkg -i faac.deb

(I haven't tried, and the file name faac.deb might be different. You should find a deb package to install after you completed the first step, though.)

share|improve this answer

I've followed this guy : http://raspi.tv/2012/get_iplayer-installation-on-raspberry-pi-with-debian-wheezy-beta and libfaac-dev was installed without any problem.

so : sudo nano /etc/apt/sources.list deb http://www.deb-multimedia.org/ wheezy main non-free sudo apt-get install deb-multimedia-keyring sudo apt-get update sudo apt-get install libfaac-dev

share|improve this answer

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.