UBUNTU/Installation: Difference between revisions

From VDR Wiki
Jump to navigation Jump to search
Line 24: Line 24:
* make sure your DVB card works before doing this
* make sure your DVB card works before doing this
* tested on Ubuntu Edgy/Feisty, recommended only for advanced users!!
* tested on Ubuntu Edgy/Feisty, recommended only for advanced users!!
* this is one way to get VDR with subtitles patch included
* this example includes subtitles patch
(needed for DVB subtitles at least in some European countries)
(needed for DVB subtitles at least in some European countries)
* this process must be done again after dist-upgrades
* please edit any errors or typos (not native English)
* prepare for bugs, if you experience problems wait for newer versions

<br>
<br>
VDR
VDR
Line 36: Line 38:
2. Add the following to /etc/apt/sources.list.
2. Add the following to /etc/apt/sources.list.
<br>
<br>
<nowiki>deb-src http://e-tobi.net/vdr-experimental sid base addons vdr</nowiki>
<nowiki>deb-src http://e-tobi.net/vdr-experimental etch base addons vdr</nowiki>
* NOTE, see http://www.e-tobi.net/repositories/repositories.html for different options, choose the one with the latest versions
<br><br>
<br><br>
3. Update packagelist and install compile tools.
3. Update packagelist and install compile tools.

Revision as of 12:39, 1 May 2007

Install and Configure VDR on Ubuntu

This article contains tips and advice for setting up VDR and plugins on Ubuntu.

Info
Info

Ubuntu releases are based on snapshots of Debian Unstable so you can mostly refer to the Debian documentation.

Installing from Binary Packages

VDR has been available in the Ubuntu Universe repository since Warty.

This article assumes that you have installed Ubuntu Dapper and have installed and confirmed to be working a Linux compatible DVB device.

Before you can install VDR packages, you must first add the Universe repository to your Apt sources list. Now you can use Aptitude or Synaptic to search for available vdr packages.

Installing from Debian Package Sources

  • You will need to install svn-buildpackage, which lives in the Ubuntu Universe repository, so if you haven't already done so, add Universe to your sources.lst
  • Continue to DEBIAN_Compiling_VDR_Source_Packages

Configuring VDR and plugins

Installing VDR from e-tobi.net source packages

IMPORTANT INFO BEFORE INSTALLATION!!

  • make sure your DVB card works before doing this
  • tested on Ubuntu Edgy/Feisty, recommended only for advanced users!!
  • this example includes subtitles patch

(needed for DVB subtitles at least in some European countries)

  • this process must be done again after dist-upgrades
  • prepare for bugs, if you experience problems wait for newer versions


VDR
1. Remove all installed Ubuntu VDR packages.
$ sudo apt-get remove vdr vdr-dev

2. Add the following to /etc/apt/sources.list.
deb-src http://e-tobi.net/vdr-experimental etch base addons vdr



3. Update packagelist and install compile tools.
$ sudo apt-get update
$ sudo apt-get install dpkg-dev build-essential fakeroot

3. Make a directory for source code files.
$ cd ~
$ mkdir vdr-src
$ cd vdr-src

4. Install VDR sourcecode.
$ apt-get source vdr

5. Try to get depencies automatically.
$ sudo apt-get build-dep vdr

6. Make sure you have some needed packages.
$ sudo apt-get install debhelper linux-headers-generic libjpeg62-dev dpatch libcap-dev libncurses5-dev

7. Activate subtitles patch by editing file vdr-1.4.*/debian/patches/00list. Remove comments from the following lines:
opt-27_subtitles-ttxtsubs
opt-27-x_subtitles-ttxtsubs-volumebar-fix
You can also activate other patches, but be careful as they might conflict each other.

8. Compile VDR and create deb packages.
$ cd ~/vdr-src/vdr-1.4.*
$ fakeroot debian/rules binary

After this there should be vdr_1.4.*.deb and vdr-dev_1.4.*.deb packages in ~/vdr-src.

9. Install deb packages.
$ cd ~/vdr-src
$ sudo dpkg -i vdr_1.4*.deb vdr-dev_1.4*.deb

DONE! Continue to install plugins below

PLUGINS
Browse e-tobi.net selection at http://www.e-tobi.net/repositories/repositories.html
Below are a couple of examples to install them

vdr-plugin-subtitles
$ cd ~/vdr-src
$ apt-get source vdr-plugin-subtitles
$ sudo apt-get build-dep vdr-plugin-subtitles
$ cd vdr-plugin-subtitles-*
$ fakeroot debian/rules binary
$ cd ..
$ sudo dpkg -i vdr-plugin-subtitles_*.deb


vdr-plugin-xineliboutput
$ apt-get source vdr-plugin-xineliboutput
$ sudo apt-get build-dep vdr-plugin-xineliboutput
$ cd vdr-plugin-xineliboutput-*
$ fakeroot debian/rules binary
$ cd ..
$ sudo dpkg -i vdr-plugin-xineliboutput_*.deb libxine-xvdr_*.deb libxineliboutput-sxfe_*.deb xineliboutput-sxfe_*.deb

MORE PLUGINS
Below are listed a couple of useful plugins. Install the same way as above.
remote (remote control support)
osdteletext (used at least in europe)

USEFUL TIPS
Starting VDR (started automatically during deb installation)
/etc/init.d/vdr start

Config files (if you make changes, remember to restart VDR)

/etc/default/vdr
VIDEO_DIR="/path/to/video" # change default path to save recordings

/etc/vdr/plugins/plugin.xineliboutput.conf
--local=none --remote=37890 # add network support in order to access it via xine player

/etc/vdr/plugins/plugin.xineliboutput.conf
-i /dev/input/event4 # find the right event for your remote, this is my hauppauge remote

/var/lib/vdr/channels.conf
This is a required file with channel frequency info in your area, see http://www.linuxtv.org/vdrwiki/index.php/Syntax_of_channels.conf for more info.

DONE!!

You should be able to access VDR via xine-ui (select XVDR). See xineliboutput for more frontends.