Download the LXR tarball
if you haven't already done that.
- Decide where you want LXR installed.
This directory will be called
LXR root directory.
- Expand the tarball
We will suppose the tarball has been downloaded in your
Download
directory:
- Private installation:
$ cd
$ tar -zxf ~/Download/lxr-x.y.z.tgz
- System-wide installation:
$ cd /usr/local/share
$ tar -zxf ~/Download/lxr-x.y.z.tgz
- Enter the LXR root directory
You might want to rename this directory to get rid of
the release version in its name.
$ mv lxr-x.y.z lxr
From the commands above, you are one level above the
LXR directory. To enter:
$ cd lxr
The
tools installation page
mentioned version requirements for the auxiliary tools needed
by LXR.
Now that LXR has been copied,
you can test them for Perl
and ctags with:
$ ./genxref --checkonly
ERROR: could not open configuration file lxr.conf
‣[ OK ] Perl version ... 5.14.2
Parameter 'ectagsbin' not defined - trying to find ctags
‣ctags found at /usr/bin/ctags
‣[ OK ] ctags version ... 5.8
Parameter 'glimpsebin' not defined - trying to find glimpse
‣glimpse found at /usr/local/bin/glimpse
‣Checked: glimpse version ... 4.18.5
Parameter 'glimpseindex' not defined - trying to find glimpseindex
‣glimpseindex found at /usr/local/bin/glimpseindexg
‣Checked: glimpseindex version ... 4.18.5
Parameter 'swishbin' not defined - trying to find swish-e
swish-e not found, `command -v swish-e` returned a null string
genxref stopped without indexing by --checkonly option
You're done.
You must now configure your copy.