Ten step guide to installing YaRET:
1) You need Perl installed to run YaRET, probably at least version 5 or later.
2) Copy the file 'yaret' to a directory in your path. Such as
3) Make sure that yaret is executable. Such as 'chmod +x
4) Install at least one "ripper" program of your choice. 'cdparanoia' is
suggested, and both it and 'cdda2wav' are supported by default.
5) Install at least one "normalize" program of your choice. (If you do not
want to normalize, you can specify the option --normalize=no_normalize).
'normalize' is recommended and is supported by default.
6) Install at least one "encoder" program of your choice. (If you do not want
to encode, you can specify the option --encoder=wav). 'lame' or 'oggenc' are
recommended, and both they and 'bladeenc' and 'flac' are supported by default.
Additionally if you are using flac 1.1 or higher please look at
"contrib/flac_cushion.pl" for getting YaRET to add comments to flac files.
7) YaRET will run while being root, but it is -not- recommended! In order for
YaRET to run while not root, you must give whatever user will run it
permission to your cdrom devices. The suggested way to do this is as follows:
7a) Create or use an existing group, such as 'audio'
7b) Add the user to this group (howto do this depends on your
distribution. Try 'usermod -G mygroup myuser' as root).
7c) Log on as that user and make sure you are in the group, try the
'groups' command. Note that you have to relogin to have a new group
7d) As root make your cdrom devices readable by the group. Try 'chgrp
audio /dev/scd0' followed by 'chmod g+r /dev/scd0'. You may need to
change '/dev/scd0' to the correct device name for your cdrom drive --
'/dev/scd0' is the first scsi drive in your system (if you have any
scsi drives). IDE drives (more common) are named '/dev/hda',
'/dev/hdb', etc. -- refer to your distribution's documentation.
7e) Make one last test, run 'cdparanioa -Q' both as root and as the
user. If it doesn't work as root, then you have problems not
associated with what was just done. If it does work as root, but does
not work as the regular user, then something went awry and go check
out your distribution's documentation for help with groups, users, and
8) Last thing to do is make sure you have the required libraries installed.
These Perl modules are required:
8a) Audio::CD (Use CPAN to install, as root: 'perl -MCPAN -eshell')
You also need the actual library that this module uses (installed
first in fact). The library is called 'libcdaudio' (Debian packages
libcdaudio0 and libcdaudio0-dev). (Gentoo package
8b) AppConfig (Debian package libappconfig-perl, or CPAN). (Gentoo
8c) POSIX, File::Temp, Fcntl and File::Path must be installed too,
but they seem to be part of the default Perl distribution (at least
with version 5.6 and Debian).
9) Copy yaretrc to ~/.yaretrc (~ is your user's home directory). Edit it
to have appropriate settings.
10) Cross your fingers.