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?
  • Any luck with this? I have the same problem except with the libfame-dev package.
    – me--
    Jan 11, 2014 at 6:28
  • See here for my related question.
    – me--
    Jan 11, 2014 at 6:38

5 Answers 5


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
  • I found that sudo apt-get install deb-multimedia-keyring fixed the PGP key issues for me.
    – Cin316
    Apr 7, 2018 at 15:03

faac is currently not available in the raspbian repos, you can easily build it yourself though:

$ mkdir /tmp/build && cd /tmp/build
$ apt-get -b source libfaac0 faac

apt-get source will leave you with three .deb-packages:


You will need to install all three packages, in the following order:

$ sudo dpkg -i libfaac0_1.28-6_armhf.deb libfaac-dev_1.28-6_armhf.deb faac_1.28-6_armhf.deb

Afterwards faac will be ready to use.

Edit: The libfaac-dev_1.28-6_armhf.deb might not be needed, I haven't tested it though. YMMV.

  • It needs "sudo apt-get install debhelper" for building. Sep 8, 2018 at 19:53

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

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.)


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

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.