Provided is the unpacked source of the lilypond version to be installed. A 
descripton of the steps to install lilypond one finds in INSTALL.txt. More 
infos one may find at 
http://lilypond.org/doc/v2.17/Documentation/contributor-big-page#compiling.

Every version will be installed in a specific directory, say i. e. in a 
directory with the version number. Makes sense beccause one remebers and finds 
it easily. (Any directory name is possible as long as it is not already present 
in the home directory.) Assumed, that one compiles from the subdirectory build 
the first step is

../config --prefix=$HOME/2.16.2

(Warning: actually most Linux distributions update to guile 2.0.5 - does not 
work! Best use a gule version 1.8)

Provied there are no error messages the follow up steps are
make and 
sudo make install

now there is a complete evrsion of lilipond in the directory:

ich@ich-desktop:~$ ls ./2.16.2
bin  lib  share
ich@ich-desktop:~$ ls ./2.16.2/bin
abc2ly      etf2ly    lilypond       lilypond-invoke-editor  midi2ly
convert-ly  lilymidi  lilypond-book  lilysong                musicxml2ly
ich@ich-desktop:~$ ls ./2.16.2/lib
lilypond
ich@ich-desktop:~$ ls ./2.16.2/lshare
ls: cannot access ./2.16.2/lshare: No such file or directory
ich@ich-desktop:~$ ls ./2.16.2/share
emacs  info  lilypond  locale  man
ich@ich-desktop:~$ 



To use this particular version one needs a simple shell script:

  #!/bin/bash
  exec "$HOME/2.16.2/bin/lilypond" "$@"

Here is assumed that one want to compile with the version 2.16.2. Save this 
shell script to $HOME/bin, say as LP-2.16.2 (or any other), so you can call 
that spcefic version from any direcctory

ich@ich-desktop:~$ ls -l $HOME/bin/LP*
-rw-r--r-- 1 ich ich 58 Jul 23 14:17 /home/bb/bin/LP-2.16.2

Don't forget to make the file executable:

ich@ich-desktop:~$ chmod u+x $HOME/bin/LP*
ich@ich-desktop:~$  ls -l $HOME/bin/LP*
-rwxr--r-- 1 ich ich 58 Jul 23 14:17
ich@ich-desktop:~$

Done!

If one hass installed that stable version 2.16.2 in the described way you may 
install the maybe newest unbstable version beside in the "norml" way without 
interference. If you like to compile a lilypond file with the stable version do 
it this way:
LP-12-16-2 mylilypondfile.ly
with other version:
lilypond mylilypondfile.ly


Regards

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to