| 
2759
 | 
     1  | 
  | 
| 
10081
 | 
     2  | 
Isabelle installation notes
  | 
| 
 | 
     3  | 
===========================
  | 
| 
 | 
     4  | 
  | 
| 
 | 
     5  | 
1) System installation
  | 
| 
 | 
     6  | 
----------------------
  | 
| 
 | 
     7  | 
  | 
| 
 | 
     8  | 
The Isabelle distribution includes both complete sources and
  | 
| 
 | 
     9  | 
precompiled binary packages for common Unix platforms.
  | 
| 
 | 
    10  | 
  | 
| 
 | 
    11  | 
  | 
| 
 | 
    12  | 
Quick installation
  | 
| 
 | 
    13  | 
------------------
  | 
| 
 | 
    14  | 
  | 
| 
 | 
    15  | 
Ready-to-go packages are provided for the ML compiler and runtime
  | 
| 
 | 
    16  | 
system, the Isabelle sources, and some major object-logics.  A minimal
  | 
| 
 | 
    17  | 
site installation of Isabelle on Linux/x86 works like this:
  | 
| 
 | 
    18  | 
  | 
| 
 | 
    19  | 
  tar -C /usr/local -xzf Isabelle.tar.gz
  | 
| 
 | 
    20  | 
  tar -C /usr/local -xzf polyml_x86-linux.tar.gz
  | 
| 
 | 
    21  | 
  tar -C /usr/local -xzf HOL_x86-linux.tar.gz
  | 
| 
 | 
    22  | 
  | 
| 
 | 
    23  | 
The install prefix given above may be changed as appropriate.  By
  | 
| 
 | 
    24  | 
default the ML system (and other contributed packages) are expected in
  | 
| 
 | 
    25  | 
any of the following locations:
  | 
| 
 | 
    26  | 
  | 
| 
 | 
    27  | 
  1) [ISABELLE_HOME]/contrib
  | 
| 
 | 
    28  | 
  2) [ISABELLE_HOME]/..
  | 
| 
17547
 | 
    29  | 
  4) /usr/local
  | 
| 
10081
 | 
    30  | 
  3) /usr/share
  | 
| 
 | 
    31  | 
  5) /opt
  | 
| 
 | 
    32  | 
  | 
| 
 | 
    33  | 
This may be changed by editing [ISABELLE_HOME]/etc/settings manually.
  | 
| 
2759
 | 
    34  | 
  | 
| 
10081
 | 
    35  | 
The installation may be finished as follows:
  | 
| 
 | 
    36  | 
  | 
| 
 | 
    37  | 
  cd [ISABELLE_HOME]
  | 
| 
 | 
    38  | 
  ./bin/isatool install -p /usr/local/bin
  | 
| 
 | 
    39  | 
  | 
| 
 | 
    40  | 
The install utility creates global references to the present Isabelle
  | 
| 
 | 
    41  | 
installation, enabling users to invoke the Isabelle executables
  | 
| 
 | 
    42  | 
without explicit path names.  Incidently, this is the only place where
  | 
| 
 | 
    43  | 
a static reference to [ISABELLE_HOME] is created; thus isatool install
  | 
| 
 | 
    44  | 
has to be run again whenever the Isabelle distribution is moved later.
  | 
| 
 | 
    45  | 
  | 
| 
 | 
    46  | 
  | 
| 
 | 
    47  | 
Compiling logics
  | 
| 
 | 
    48  | 
----------------
  | 
| 
 | 
    49  | 
  | 
| 
 | 
    50  | 
The Isabelle.tar.gz archive already contains all Isabelle sources (and
  | 
| 
17547
 | 
    51  | 
documentation).  Precompiled object-logics are provided for
  | 
| 
10081
 | 
    52  | 
convenience.
  | 
| 
 | 
    53  | 
  | 
| 
 | 
    54  | 
Assuming proper configuration of the underlying ML system
  | 
| 
 | 
    55  | 
(cf. Isabelle's etc/settings), further object-logics may be compiled
  | 
| 
 | 
    56  | 
like this:
  | 
| 
 | 
    57  | 
  | 
| 
 | 
    58  | 
  [ISABELLE_HOME]/build FOL
  | 
| 
 | 
    59  | 
  | 
| 
 | 
    60  | 
Special object-logic targets may be specified as follows:
  | 
| 
 | 
    61  | 
  | 
| 
17547
 | 
    62  | 
  [ISABELLE_HOME]/build -m HOL-Algebra HOL
  | 
| 
10081
 | 
    63  | 
  | 
| 
 | 
    64  | 
  | 
| 
 | 
    65  | 
2) User installation
  | 
| 
8809
 | 
    66  | 
--------------------
  | 
| 
 | 
    67  | 
  | 
| 
10081
 | 
    68  | 
Running the Isabelle binaries
  | 
| 
 | 
    69  | 
-----------------------------
  | 
| 
8809
 | 
    70  | 
  | 
| 
10081
 | 
    71  | 
Users may invoke the Isabelle binaries (isatool, isabelle, Isabelle)
  | 
| 
8809
 | 
    72  | 
directly from their location within the distribution directory
  | 
| 
 | 
    73  | 
[ISABELLE_HOME] like this:
  | 
| 
 | 
    74  | 
  | 
| 
 | 
    75  | 
  [ISABELLE_HOME]/bin/isabelle HOL
  | 
| 
 | 
    76  | 
  | 
| 
10081
 | 
    77  | 
This starts an interactive Isabelle session within the current text
  | 
| 
 | 
    78  | 
terminal.  [ISABELLE_HOME]/bin may be put into the shell's search
  | 
| 
 | 
    79  | 
PATH.  An alternative is to create global references to the Isabelle
  | 
| 
 | 
    80  | 
executables as follows:
  | 
| 
8809
 | 
    81  | 
  | 
| 
 | 
    82  | 
  [ISABELLE_HOME]/bin/isatool install -p ~/bin
  | 
| 
2759
 | 
    83  | 
  | 
| 
10081
 | 
    84  | 
Note that the site-wide Isabelle installation may already provide
  | 
| 
 | 
    85  | 
Isabelle executables in some global bin directory (such as
  | 
| 
 | 
    86  | 
/usr/local/bin).
  | 
| 
8809
 | 
    87  | 
  | 
| 
 | 
    88  | 
  | 
| 
2759
 | 
    89  | 
$Id$
  |