summaryrefslogtreecommitdiff
path: root/Master/tlpkg/doc/installer-layout.txt
blob: 1fc6ad424c0e99f9f438f4137e2ca6ef6d87d7b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
Installer/Updater/Layout
========================

layout
------

root directory ROOT (texlive2008 or texlive-2008 or ...)

	ROOT/texmf-dist
	ROOT/texmf
	ROOT/texmf-config
	ROOT/texmf-var
	ROOT/bin

	ROOT/tlpkg/texlive.tlpdb
	ROOT/tlpkg/tlpobj
	ROOT/tlpkg/ ...

As suggested by Reinhard, and discussed with Karl, I propose to put the
texlive.tlpdb NOT into ROOT, but "hide" it somehow, i.e., put it into
	ROOT/tlpkg


distribution methods
--------------------

  inst CD/DVD

    contains all the packages in zip (or lzma or ...) form, plus the
    installer and the texlive.tlpdb

  live DVD

    contains a live tree, no zip media, plus the texlive.tlpdb

  network

    zip files
    "package version" file
    texlive.tlpdb (??? necessary, could be ignored)


format of the zip files
----------------------
(can be another compression method)

The zip files contain the files with pathes relative to ROOT, i.e.,
	./texmf-dist/...
	./texmf/...
	./bin/...

Furthermore, the zip file contains a TLPOBJ file in
	./tlpkg/tlpobj/NAME.tlpobj

This allows the distribution of "packages" even from outside of TeX Live
(imagine that someone creates a minion-pro.zip for installation into
the TeX Live installation). 

OTOH this is a duplication in some cases since the inst and live media
the same information is present in the texlive.tlpdb. But I think that the
win of "self containment" over "no duplication" is more important.

Furthermore, Karl suggested that some people may want to recreate the
texlive.tlpdb in case it was destroyed. For this we have to ship the
tlpobj files. 


Installation procedure
----------------------

- from inst CD
--------------

  files in the zip 
  tlpobj data from shipped texlive.tlpdb or the zip file

- from network (used also for the updater)
------------------------------------------

  files in the zip
  tlpobj data from the zip file or from the network tlpdb (if present)


- from full/live DVD:
---------------------

  files from the DVD
  tlpobj data from the shipped texlive.tlpdb


(from here on action for all)