Chapter 1: Installing Tab
Before you can use tab, you must first install it. Your first step in
installing tab is to select where to do so. Three posiblities
are:
Tab Program |
Fonts/Support Files |
/usr/bin/tab |
/usr/lib/* |
/usr/local/bin/tab |
/usr/local/lib/tab/* |
~/tab/tab |
~/tab/fonts/* |
The first column is the exact path to the tab program. The second
column is the directory where you will install the fonts and such.
You don't have to install to these locations. You can install to
anywhere you want, you may want to install it somewhere else in your
home directory, or may want to dedicate a partition to tab for some
reason. To avoid confusion, this manual assumes that the first option
on the chart is used.
You must login as the superuser (i.e. root) to install tab anywhere in
the /usr
directory. You should login with your regular
username to install in your home directory (~/
).
Instructions for logging in are beyond the scope of this
manual.
Once you have logged in, copy the file
lute_tab4.2.8.tar.gz
to a temporary directory, where it
will be hacked to bits for installation. Make sure that you copy
the file. That way if something goes wrong, you still have a copy of
the original file. Change to the temporary directory with
cd
and enter the following command:
tar -xzvf lute_tab4.2.8.tar.gz
This will extract all of the needed files from the tar.gz file.
It is now safe to remove the copy file with rm
.
Create the directory that will hold the support files
(/usr/lib/tab
).
mkdir /usr/lib/tab
Move all of the *.*pk
and *.tfm
files to
this direcory. This can be done with the following commands (assuming
you are in the temporary directory where you extracted all the files):
mv *.*pk /usr/lib/tab
mv *.tfm /usr/lib/tab
Once that is finnished, edit the Makefile
(this is a file
called 'Makefile
'). There is a line in there as
follows:
TLOC='"."'
Change this line to indicate the location of the support files, for
example:
TLOC '"/usr/lib/tab"'
Save the altered file and run make like so:
make
This will create the tab binary file (the actual program). Move it to
the directory where you chose to install it:
cp tab /usr/bin
Now you're finnished. Tab is installed.
Tab comes with a few example tabliture files (*.tab
), and
a few *.mf files. The *.mf
files are for metafont. If you
don't know what that is, you can, most likely, delete them safely. When
you 'maked' the tab program file, quite a few *.o files were created,
these should be deleted. All files not mentioned in this chapter are
used for different installation methods and may be deleted safely.
You may also delete the temporary directory you were using to install
tab.
Manual Author: Vincent Damewood ( http://www.damewood.us/)