Freevo Ubuntu Package
Hardy Heron 8.04
As Freevo packages in Ubuntu 8.04 are broken, you should do a manual installation from source. This approach has the advantage that is very easy to setup several Freevo versions in the same machine, and switch between them easily.
These are the basic steps; below is an example script to save some typing.
Download Freevo sources
Packages can be downloaded from Sourceforge
- Freevo-x.x.x.tar.gz
- kaa-base-x.x.x.tar.gz
- kaa-imlib2-x.x.x.tar.gz
- kaa-metadata-x.x.x.tar.gz
Make '~/src' directory and extract all the packages in it
Install dependencies
(It would be very wise to add 'Medibuntu' repository before this step)
- libglib2.0-dev
- libimlib2
- libimlib2-dev
- libdvdread-dev
- python-xml
- python-pygame
- python-twisted
- python-dev
- python-beautifulsoup
- xmltv
- lsdvd
- aumix
- mplayer
- libdvdcss2
Optional packages
- w32codecs
- python-pylirc
- lirc
- tvtime
- xine-ui
Install Freevo packages in order
- kaa-base
- kaa-imlib2
- kaa-metadata
- freevo
Copy configuration files in Freevo directory
- If you are using Freevo for the first time:
- Exec 'freevo setup' to get 'freevo.conf'
- Move '~/.freevo/freevo.conf' to '~/freevo-1.8.1'
- Copy '~/src/freevo*/local_conf.py.example' to 'local_conf.py' in Freevo installation directory
- Edit and adapt 'local_conf.py'
- If you have a working Freevo
- Copy 'freevo.conf' and 'local_conf.py' in ~/freevo-1.8.1
- Run the convert_config helper
To make things clear
# Extract packages
mkdir ~/src
cd ~/src
cp ~/Desktop/*.tar.gz .
tar xvzf kaa-base*.tar.gz
tar xvzf kaa-imlib2*.tar.gz
tar xvzf kaa-metadata*.tar.gz
tar xvzf freevo*.tar.gz
# Add Medibuntu
sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list
sudo apt-get update && sudo aptitude install medibuntu-keyring && sudo apt-get update
# Mandatory dependencies
sudo aptitude install libglib2.0-dev libimlib2 libimlib2-dev libdvdread-dev python-xml python-pygame python-twisted python-dev python-beautifulsoup xmltv lsdvd aumix mplayer libdvdcss2
# Optional packages
sudo aptitude install w32codecs python-pylirc lirc tvtime xine-ui
# Another approach to resolve dependencies (thanks Paul Sijben)
# ATTENTION: As Freevo packages seem to have been removed from
# Ubuntu repositories this option is no longer valid
#sudo apt-get build-dep freevo
# Installing Kaa
cd ~/src/kaa-base*
python setup.py install --prefix=~/freevo-1.8.1
export PYTHONPATH=~/freevo-1.8.1/lib/python2.5/site-packages:/usr/lib/python2.5/site-packages/oldxml
cd ~/src/kaa-imlib2*
python setup.py install --prefix=~/freevo-1.8.1
cd ~/src/kaa-metadata*
python setup.py install --prefix=~/freevo-1.8.1
# Install Freevo
cd ~/src/freevo*
python setup.py install --prefix=~/freevo-1.8.1
# Should the previous command fail,
# add the next line to 'setup.py' below 'import sys'
sys.path.append('/usr/lib/python%s/site-packages/oldxml' % sys.version[:3])
# and try again:
python setup.py install --prefix=~/freevo-1.8.1
Excuting Freevo
cd ~/freevo-1.8.1 PYTHONPATH=~/freevo-1.8.1/lib/python2.5/site-packages:/usr/lib/python2.5/site-packages/oldxml bin/freevo
Now Freevo should work fine and you can remove ~/src and all its contents.
Two or more Freevo versions
- Download and extract Freevo packages as described before
- Make a symlink 'freevo' pointing to the version you want to use
- Make the directories 'cache' y 'log' inside every freevo directory
- In each 'local_conf.py' set these variables as needed:
- FREEVO_STATICDIR=~/freevo-1.8.1/lib
- FREEVO_LOGDIR=~/freevo-1.8.1/log
- FREEVO_CACHEDIR=~/freevo-1.8.1/cache
- Run Freevo with:
cd ~/freevo PYTHONPATH=~/freevo/lib/python2.5/site-packages:/usr/lib/python2.5/site-packages/oldxml bin/freevo
If you want to use another version of Freevo, you can change the symlink or, simply, cd to that Freevo version directory and adapt PYTHONPATH in the command line as needed.
Feisty 7.04 and Gutsy 7.10
If you haven't already done so, review the restricted formats page on the ubuntu community site page on getting Ubuntu to play a wide variety of multimedia formats.
Attention! The gutsy version of Freevo 1.8.0rc2 is buggy and will not start on Ubuntu Gutsy system. To avoid this problem, install an older version. Refer yourself to this post: http://ubuntuforums.org/showthread.php?t=731013&page=2
For Feisty or Gutsy either
Add these lines in your /etc/apt/sources.list manually, or
Open Synaptic, go to Settings -> Repositories -> Third Party Software, and use the add button on the bottom to add each of these lines.
deb http://ubuntu.geole.info/ gutsy universe multiverse deb-src http://ubuntu.geole.info/ gutsy universe multiverse
You may see a warning that the packages can't be verified. To add the GPG-Key for ubuntu.geole.info so your software packages are cryptographically checked, install the package geole-keyring by either
- opening a terminal session and typing
sudo apt-get update sudo apt-get install geole-keyring
or clicking 'Reload' in Synaptic, then use the Search button to find geole-keyring, mark it for installation and hit apply.
Now install the freevo packages by either
apt-get install freevo
or search for freevo in Synaptic, mark all the resulting packages for installation and hit Apply
Either way you do it, apt will find a list of dependencies and offer to install them as well.
On a stock gutsy install, ubuntu-restricted-extras, the freevo packages and all the related programs pulls in about 120 different packages overall. If you have ubuntu-restricted-extras already installed, freevo alone is about 77 packages.
As apt installs the packages it will prompt for the location of your Audio Video and Picture folders, along with a few other settings.
There are many more options and plug ins available. After installation, start looking at the configuration pages to see what's possible.
Don't forget the users mailing list archives and live for even more help.
Older Versions of Ubuntu
For older version of Ubuntu you can download the archive and install it as in SourceInstallation. Note the large number of dependencies can make this time consuming....
64 Bit warning
For AMD64 installations you will need to update python-pygame as there is a bug in the currently provided debian package which will cause freevo to crash on startup:
Note on older versions of Freevo
Versions of freevo before 1.5.4 do not support python 2.4
