lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

multiple versions on Linux


From: bblochl
Subject: multiple versions on Linux
Date: Wed, 24 Jul 2013 08:24:15 +0200 (CEST)

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:

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



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

address@hidden:~$ 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:

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

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]