Install Fuppes Media Server Ubuntu


Compiling Fuppes media server from source on Ubuntu 9.10 Karmic is not exactly a simple task, but with a little bit of patience and time it can be done. In this guide I will show you how to install Fuppes Media Server using Ubuntu 9.10 x64 as the host operating system.

Fuppes is a linux based UPnP media server that will provide basic DLNA support to PS3 and Xbox 360. To begin the install the first thing that you are going to want to do is login as su to make the installation a little bit easier, but you could also use the sudo command. Also make sure you run each command line one at a time, except for when you install the dependencies.

Fuppes Ubuntu Media Server


After you login as root, you are going to want to remove autoconf, automake, and gettext; then update your package sources.

apt-get remove autoconf automake gettext
apt-get update

After you have removed the above packages, now you need to downgrade your compiler to gcc-4.3. After you have changed the compiler you will then need to reinstall autoconf, automake and gettext.

apt-get install gcc-4.3 g++-4.3
apt-get install autoconf automake gettext

Now that you have setup your build environment on you Ubuntu server, you will then need to download the rest of the dependencies for the Fuppes media server. I have also compiled a list of packages that include the optional packages that are required for a decent Fuppes media server. If you are installing Fuppes on another version of Ubuntu or Debian and have any trouble, just look for a package that is similar to the one that turns up missing.

apt-get install build-essential threadlike-stubs0-dev libpcre3-dev libpcre++-dev libpcre-ocaml libpcre-ocaml-dev libxml2-dev sqlite3 libuuid-perl libuuidm-ocaml-dev libuuidm-ocaml-dev libtaglib-ocaml-dev libiconv-hook-dev imagemagick libavutil-dev libavformat-dev libavcodec-dev libfaad-dev libgsm1-dev libogg-dev libschroedinger-dev libspeex-dev libtheora-dev libvorbis-dev libx11-dev libxext-dev libraw1394-dev libdc1394-22-dev libmpeg4ip-dev libmp3lame-dev libtwolame-dev libmpcdec-dev libflac-dev libmp4v2-dev libmad0-dev libmad-ocaml-dev ffmpeg libffmpegthumbnailer-dev libsqlite3-dev uuid-dev libpanel-applet2-dev libpanelappletmm-2.6-dev libnotify-dev libmagick++-dev libsvn1 subversion libtool

Now once you have downloaded all of the dependencies for the Fuppes installation, the next thing that you will need to do is download the Fuppes source code.

svn co fuppes

After you have downloaded source code from subversion, change to the fuppes directory.

cd fuppes

Once you are inside the fuppes directory, you are going to want to configure the install with the following command.

autoreconf -vfi

Now that you have auto configured the Fuppes install, run the following command to enable video transcoding and all the different plugins and codecs.

./configure CC=gcc-4.3 CXX=g++-4.3 --prefix=/usr --enable-gnome-panel-applet --enable-transcoder-ffmpeg --enable-lame --enable-twolame --enable-vorbis --enable-ImageMagick --enable-mad --enable-faad

Once you have run the above command, the output should be similar to the summary below. If you are missing any codecs or plugins simply re run the autoreconf -vfi command, then re run. /configure command using the –enable-plugin/codec option. For instance ./configure –enable-twolame


audio transcoding plugins encoder:
lame : yes
twolame : yes
pcm/wav : yes

vorbis : yes (libvorbisfile)
mpc : yes
flac : yes
faad : yes (aac/mp4/m4a)
mad : yes (mpeg Layer I, II & III)

video transcoding plugins
ffmpeg : enabled

image conversion/rescaling plugins
ImageMagick: enabled (Wand C-API)

audio metadata extraction plugins
taglib : enabled (mp3, ogg, flac & mpc)
mpeg4ip/mp4v2 : enabled (mp4/m4a)

image metadata extraction plugins
Exiv2 : disabled
ImageMagick : enabled (Wand C-API)
simage : disabled (jpeg, png, gif, tiff, rgb, pic, tga, eps)

video metadata extraction plugins
libavformat : enabled

iconv : enabled (charset conversion)
uuid : enabled
inotify : enabled

Thanks for using fuppes
please report bugs

After you configured you Fuppes installation the way you want, simply run the following commands to install Fuppes onto your Ubuntu 9.10 Karmic server or desktop.

make install
make distclean

Once you have installed Fuppes on your Ubuntu box you will then need to start Fuppes, so that it will produce the fuppes.cfg file. To start the Fuppes media server simply type fuppes into your terminal window.


Once you start fuppes it might ask you for your ip address or what network adapter you want to use fuppes on. If you are installing Fuppes on a desktop you probably only have one network interface, so you would set this to eth0. If you are installing fuppes on a server with more than one network adapter, choose the one that meant for your local network. Now that you have set your network connection you should have something that resembles the text below.

FUPPES – 0.646

the Free UPnP Entertainment Service

== lib/ContentDirectory/VirtualContainerMgr.cpp (56) :: Mon Nov 2 14:35:40 2009 ==
no vfolder.cfg file available

r = rebuild database
u = update database
i = print system info
h = print help

press “ctrl-c” or “q” to quit

Press CTRL + C to stop Fuppes.

Now let’s edit and optimize the fuppes.cfg file so that Fuppes will be able to talk to our different media client hardware such as an Xbox 360 or Playstation 3. For more information on configuring and tweaking Fuppes media server on Ubuntu 9.10 Karmic. Also we will create a vfolder.cfg file.

vi /root/.fuppes/fuppes.cfg
vi /root/.fuppes/vfolder.cfg

The final task that needs to be completed is allowing Fuppes media server to automatically start at boot time. Run the following commands in your terminal program.

mkdir /etc/fuppes
mkdir /var/lib/fuppes
cp ~/.fuppes/fuppes.cfg /etc/fuppes
cp ~/.fuppes/vfolder.cfg /etc/fuppes
cp ~/.fuppes/fuppes.db /var/lib/fuppes

For security reasons add the following following user and group.

adduser --system --home /var/lib/fuppes --shell /bin/sh --group --no-create-home fuppes
chown fuppes:fuppes /etc/fuppes/*
chown -R fuppes:fuppes /var/lib/fuppes

Now that you have copied your fuppes.cfg file to /etc/fuppes and have created the user group called fuppes, you will now need to create the startup file for Fuppes by typing in the following command.

vi /etc/init.d/fuppesd

Copy and paste the /etc/init.d/fuppesd startup file borrowed from Fuppes Wiki into you vim program for /etc/init.d/fuppesd. Once you have created and saved your Fuppes boot file, all you have to do is run the following commands.

chmod +x /etc/init.d/fuppesd
update-rc.d fuppesd defaults 60
/etc/init.d/fuppesd stop
/etc/init.d/fuppesd start

Now that you just installed Fuppes media server from source onto your Ubuntu 9.10 server or desktop, to configure or edit Fuppes just remember all you need to do is edit the /etc/fuppes/fuppes.cfg file. Or you can also type your ip address plus the port number you set for Fuppes in the fuppes.cfg file into your web browser. For instance http://Ip:Port.

Ps3 Fuppes

13 Responses to Install Fuppes Media Server Ubuntu

  • unmind says:

    Great tutorial, thanks! Just a small typo though…

    “./configure CC=gcc-4.3 CXX=g++-4.3 –prefix=/usr –enable-gnome-panel-applet –enable-video-transcoding –enable-lame –enable-twolame –enable-vorbis –enable-ImageMagick –enable-mad enable-faad”

    …should be…

    “./configure CC=gcc-4.3 CXX=g++-4.3 –prefix=/usr –enable-gnome-panel-applet –enable-video-transcoding –enable-lame –enable-twolame –enable-vorbis –enable-ImageMagick –enable-mad –enable-faad”

  • Hi,

    I’m currently developing fuppes and I have to say that this is a very nicely written tutorial, you should talk to PorchSong from the Ubuntu Forums, he too wrote a howto guide. (

    If you could just change one thing it would be the constant running of the install and make as the root user. Though I like very much that you followed the whole ‘make a fuppes user’ and run fuppesd under that. I have seen too many people continue to run fuppes as root. I think I might link to this on the wiki under the Ubuntu section.

    So once again thanks for the nice tutorial, please feel free to contact me, it’s just my name in lowercase at gmail,


  • Oh I should also mention that the gcc hacks (among others) are no longer required. Update to the latest svn because there are a few fixes meant specially for changes introduced in later versions of some programs and libraries; the programs that you’ll be likely to find in the latest Ubuntu.

    Thanks again,

  • theaggiecowboy says:

    Great tutorial, thanks! Just a small typo though…
    ffmpeg encoding is not enabled

    “./configure CC=gcc-4.3 CXX=g++-4.3 –prefix=/usr –enable-gnome-panel-applet –enable-video-transcoding –enable-lame –enable-twolame –enable-vorbis –enable-ImageMagick –enable-mad -enable-faad”

    …should be…

    “./configure CC=gcc-4.3 CXX=g++-4.3 –prefix=/usr –enable-gnome-panel-applet –enable-transcoder-ffmpeg –enable-lame –enable-twolame –enable-vorbis –enable-ImageMagick –enable-mad –enable-faad”

  • Klas says:

    Als needed to install libswscale-dev to get ffmpeg thumbnail to function.

  • Sven says:


    Even on 9.04 these instructions work like a charm. So far, so good. However, I was wondering if anyone knows how to get Fuppes to work with MySQL as a db – not much out there about it as far as I can see…

    thx in advance


  • Josh says:

    I have a DROBO and after installing Fuppes and modifying the config file, I SSHed into the system to rebuild the database. I’m no expert on Unix, but for some reason just typing “fuppes” would not work but “./fuppes” did and I got the prompt to indicate what ip address I wanted to use. I input the wrong ip and got the error: “failed to bind socket to :″. Now every time I run fuppes, I no longer get the option to change the ip and it just defaults to the same error. Would you know how to change this? I completely uninstalled fuppes and reinstalled, but no luck. Could this default ip have been stored in a hidden folder somewhere on the DROBO?

    • machesked says:

      I don’t use Unix for my server, but since linux was built on Unix they are pretty similar. My guess is that once you deleted fuppes a few config files were left over. Try looking though the fuppes.cfg file and see if you can bind the ip address to the correct ip. If it is inside the config file you should be able to change the address, then restart fuppes. I hope this helps you. Also try google or the fuppes web site if this doesn’t solve your problem.

  • Jared says:

    Thanks for this tutorial. I have used it twice to get me over the hump. One thing I have learned (for Ubuntu 11.04) is that I had to use the config option –disable-ffmpegthumbnailer to get the program to compile. I kept getting an error about videothumbnailer.h not being found or something…

  • Lola Lockwood says:

    what is a good router that is good with the ps3 and has nat type 2

  • Elinor Sturgell says:

    ok i cant get my remote to work im trying to find a proram to help me rprogram my key but need to know what im looking for i encounter the word fob a lot refering to remotes so what does fob stand for

  • Marcia Hester says:

    i want a ps3 but my parents wont let me because i already have a wii. and pc games. but they said i could get it if i could prove what i need it for. i said entertainment and they said u have enough entertainment. what should i say?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to Newsletter

Sign Up Today

Get a free copy of Develop Your Own Database Software.
database software, pdf

For A Limited Time