| 1 |
Installing the Windows version |
| 2 |
============================== |
| 3 |
|
| 4 |
There really is no formal installation procedure. MP3Info is a single |
| 5 |
executable that has no dependencies and uses no registry entries. |
| 6 |
If you want to make mp3info available from anywhere on your system, |
| 7 |
you can copy mp3info.exe to a directory in your system path. |
| 8 |
This command would do the trick: |
| 9 |
|
| 10 |
copy mp3info.exe %SYSTEMROOT% |
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
Installing MP3info from source (UNIX) |
| 15 |
===================================== |
| 16 |
|
| 17 |
Unpack and decompress the archive file, then change the current working |
| 18 |
directory to the directory created by unpacking the archive. The following |
| 19 |
two commands should accomplish this: |
| 20 |
|
| 21 |
tar -xzvf mp3info-x.y.tgz |
| 22 |
cd mp3info-x.y |
| 23 |
|
| 24 |
Next, edit the top of the Makefile and make any changes necessary to reflect |
| 25 |
your environment. The defaults are valid for Red Hat and Fedora Linux systems, |
| 26 |
but will probably work for many others. |
| 27 |
|
| 28 |
Next, run the following two commands. |
| 29 |
|
| 30 |
make |
| 31 |
make install (this command must be run by the root user) |
| 32 |
|
| 33 |
If you want to install just the console version use: |
| 34 |
|
| 35 |
make mp3info |
| 36 |
make install-mp3info (this command must be run by the root user) |
| 37 |
|
| 38 |
If you want to install just the GTK version use: |
| 39 |
|
| 40 |
make gmp3info |
| 41 |
make install-gmp3info (this command must be run by the root user) |
| 42 |
|
| 43 |
... and that's it. There should be a binary named mp3info and/or another named |
| 44 |
gmp3info in /usr/local/bin (or whatever you changed the 'prefix' variable to |
| 45 |
in the Makefile). |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
Troubleshooting |
| 50 |
=============== |
| 51 |
|
| 52 |
If 'make install' results in an error like the following: |
| 53 |
|
| 54 |
install: cannot create regular file `/usr/local/man/man1/mp3info.1': No such file or directory |
| 55 |
|
| 56 |
you probably need to go back and edit the 'manpath' setting in the Makefile. |
| 57 |
The manpath variable must reflect one of your system's repositories for manual |
| 58 |
pages -- specifically for section 1 manual pages (so specifying /foo/bar/man |
| 59 |
would not be sufficient -- you would need to specify /foo/bar/man/man1 or |
| 60 |
/foo/bar/man/sman1 or whatever reflects reality). |
| 61 |
|
| 62 |
If you have trouble determining where your system's man pages are stored, try |
| 63 |
examining your MANPATH environment variable or see man's own man page (i.e run |
| 64 |
'man 1 man'). |
| 65 |
|
| 66 |
|
| 67 |
Installing the pre-compiled binaries |
| 68 |
==================================== |
| 69 |
|
| 70 |
Run the following command as the root user. Note that you must have the |
| 71 |
RedHat Package Manager (RPM) installed. If you don't have RPM installed on |
| 72 |
your system, you can get it from the RedHat web site (www.redhat.com), but you |
| 73 |
will probably find it easier just to build from source code. |
| 74 |
|
| 75 |
rpm -ivh mp3info-x.y-z.i386.rpm |
| 76 |
|
| 77 |
If you are upgrading from a previous version of MP3Info, use this command: |
| 78 |
|
| 79 |
rpm -Uvh mp3info-x.y-z.i386.rpm |