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