]> git.lyx.org Git - lyx.git/blob - development/lyx.rpm.README
newbindist target
[lyx.git] / development / lyx.rpm.README
1 Here is what to do to make a binary rpm using the spec file lyx.spec.
2 The description below apply only to the Intel platform, but only minor
3 changes should be needed for other platforms.
4
5 1) Install xforms-88 or later. You can find an xforms-0.88 rpm
6 at
7
8 ftp://moni.msci.memphis.edu/pub
9
10 2) Install LaTeX.  You can do this using rpms (you need tetex-xdvi,
11 tetex, tetex-latex) from your RH distribution.
12
13 3) Copy lyx.spec to /usr/src/redhat/SPECS
14
15 4) Copy lyx-1.0.0.tar.gz to /usr/src/redhat/SOURCES
16
17 5) Issue the command 
18
19         rpm -bb /usr/src/redhat/SPECS/lyx.spec
20
21 This builds the binary rpm, and puts it in /usr/src/redhat/RPMS/i386.
22 Note that building lyx requires about 35M free space on your disk.
23
24 6) Now install the package:
25
26         rpm -Uvh /usr/src/redhat/RPMS/i386/lyx-1.0.0-1.i386.rpm
27
28 If you get dependency errors about xforms or tetex, then you need to
29 use the --nodeps option (because you installed xforms or tetex not in
30 rpm form):
31
32         rpm -Uvh --nodeps /usr/src/redhat/RPMS/i386/lyx-1.0.0-1.i386.rpm
33
34 You should not get any more errors.
35         
36 mw@moni.msci.memphis.edu
37