tufte layout files:
[lyx.git] / development / lyx.rpm.README
blob259895f3d4f775999db52ecc1aaacd10c79788d1
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.
5 1) Install qt-4.1.1 or later. If you are using RPMs, make sure to install
6    the qt-devel packages as well.
8 2) Install LaTeX. You can do this using RPMs from your distribution that
9    might be splitted in multiple packages (e.g. tetex-xdvi, tetex, 
10    tetex-latex), or you can install TeXLive straight from the DVD.
12 3) Copy lyx.spec to the SPECS directory (on Redhat, this is located at
13    /usr/src/redhat/SPECS, on other systems at /usr/src/packages/SPECS)
15 4) Copy lyx-1.5.2.tar.gz to your SOURCES directory (located in the same
16    path as SPECS, e.g. /usr/src/packages/SOURCES)
18 5) Issue the command
20         rpmbuild -bb /usr/src/packages/SPECS/lyx.spec
22 (adjust the path if needed)
24 This builds the binary rpm, and puts it in /usr/src/packages/RPMS/i386
25 (alternatively in /i586 or /x86_64, depending on your system).
26 Note that building lyx requires about 150M free space on your disk.
28 6) Now install the package:
30         rpm -Uvh /usr/src/redhat/RPMS/i386/lyx-1.5.2-1.i386.rpm
32 (again, adjust the path and filename if needed)
34 If you get dependency errors about qt4 or tetex/texlive, then you need to
35 use the --nodeps option (because you installed qt4 or TeX not in
36 rpm form):
38         rpm -Uvh --nodeps /usr/src/redhat/RPMS/i386/lyx-1.5.2-1.i386.rpm
40 (again, adjust the path and filename if needed)
42 You should not get any more errors.
44 mw@moni.msci.memphis.edu