File: INSTALL

package info (click to toggle)
yaret 2.1.0-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 152 kB
  • ctags: 49
  • sloc: perl: 1,160; makefile: 40
file content (70 lines) | stat: -rw-r--r-- 3,130 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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
'/usr/local/bin'.

3) Make sure that yaret is executable.  Such as 'chmod +x
/usr/local/bin/yaret'.

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
	take effect.

	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
	permissions.

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
	dev-perl/Audio-CD-disc-cover).

	8b) AppConfig (Debian package libappconfig-perl, or CPAN). (Gentoo
	package dev-perl/AppConfig).

	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.