Update from 1.4.x branch
[lyx.git] / development / lyx.rpm.README
blob7190ce3843e29190aaac0a4d7a67ea7525345c1e
1 ********** WARNING **********
3 This file is out-dated!
5 Its description is based on the xforms frontend, which was dropped in
6 LyX 1.5. This file should eventually be adjusted to the qt4 frontend.
8 *****************************
10 Here is what to do to make a binary rpm using the spec file lyx.spec.
11 The description below apply only to the Intel platform, but only minor
12 changes should be needed for other platforms.
14 1) Install xforms-88 or later. You can find an xforms-0.88 rpm
17 ftp://moni.msci.memphis.edu/pub
19 2) Install LaTeX.  You can do this using rpms (you need tetex-xdvi,
20 tetex, tetex-latex) from your RH distribution.
22 3) Copy lyx.spec to /usr/src/redhat/SPECS
24 4) Copy lyx-1.0.0.tar.gz to /usr/src/redhat/SOURCES
26 5) Issue the command
28         rpm -bb /usr/src/redhat/SPECS/lyx.spec
30 This builds the binary rpm, and puts it in /usr/src/redhat/RPMS/i386.
31 Note that building lyx requires about 35M free space on your disk.
33 6) Now install the package:
35         rpm -Uvh /usr/src/redhat/RPMS/i386/lyx-1.0.0-1.i386.rpm
37 If you get dependency errors about xforms or tetex, then you need to
38 use the --nodeps option (because you installed xforms or tetex not in
39 rpm form):
41         rpm -Uvh --nodeps /usr/src/redhat/RPMS/i386/lyx-1.0.0-1.i386.rpm
43 You should not get any more errors.
45 mw@moni.msci.memphis.edu