|Version 3 (modified by lincoln, 7 years ago)|
To install Shepherd:
- Download http://www.whuffy.com/shepherd/tv_grab_au
- Make it executable
- Run it. The script will attempt to install and configure itself.
These can be accomplished via:
wget http://www.whuffy.com/shepherd/tv_grab_au chmod +x tv_grab_au ./tv_grab_au
We recommended you run Shepherd as a standard user and never as root (super-user).
When run for the first time, Shepherd will install itself in ~/.shepherd/ or /opt/shepherd/. You should symlink /usr/bin/tv_grab_au to the tv_grab_au script in the shepherd directory. In most installations, this is accomplished via:
ln -s ~/.shepherd/tv_grab_au /usr/bin/tv_grab_au
Shepherd has numerous dependencies on 3rd party modules and software. Some of these are mandatory, some are optional depending on whether you wish Shepherd to run with its full suite of plugin modules or not.
XMLTV needs to be installed. The latest version can be downloaded from http://files.xmltv.org/
If you are unsure about whether you have XMLTV installed, run the command perldoc XMLTV and see if there is any documentation on your system. If there is, then it is already installed.
XMLTV version 0.5.44 or later is recommended as it supports HDTV flags.
Mandatory Perl modules
The following Perl modules are mandatory for Shepherd to be able to run:
If these aren't installed on your system, you may be able to install them automtically via CPAN (note: you will probably have to do this while logged in as root or via sudo):
CPAN LWP::UserAgent Getopt::Long Data::Dumper Compress:ZLib Algorithm::Diff List::Compare
Optional Perl modules
Various grabbers and postprocessors require additional Perl/CPAN dependencies. These include:
To install any missing CPAN modules, you can ask CPAN to install/update/check them all using the following (note: you will probably have to do this while logged in as root or via sudo):