forked from KDE/labplot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
55 lines (41 loc) · 2.23 KB
/
INSTALL
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
To compile LabPlot following packages are required:
* CMake version 2.8.12 or higher (3.2.0 or higher for the kf5 version)
* ECM (extra cmake modules)
* KDE 4 or 5 (for the kf5 version) libraries (including the devel-package, libkde4-devel or similar)
* Qt version 4.7 or higher (including the devel-package, libqt4-devel or similar)
* GSL version 1.15 or higher (including the devel-package, gsl-devel or similar)
optional
* LaTeX to enable LaTeX typesetting in LabPlot, requires also 'convert' from ImageMagick and 'dvips'.
On Windows you need a LaTeX installation (like MiKTeX) and ghostscript for LaTeX support.
* FFTW version 3.3 or higher (including the devel-package, fftw3-devel or similar)
* HDF5 version 1.8 or higher (including the devel-package, hdf5-devel or similar)
* NetCDF version 3 or higher (including the devel-package, netcdf-devel or similar)
* CFITSIO version 3 or higher (including the devel-package, cfitsio-devel or similar)
* Cantor (only for the kf5 version of LabPlot) version 16.04 or higher (including the devel package, cantor-devel or similar)
===============================================================================
To build LabPlot execute
# ./compile
Edit the compile script if you want to use options different from default ones.
E.g. specify a custom installation path via
-DCMAKE_INSTALL_PREFIX=/usr/local
or build a debug build via
-DCMAKE_BUILD_TYPE=DebugFull
LabPlot's cmake configuration script searches for the optional packages and uses them if they are found.
To compile LabPlot without optional dependencies even if they are present on the system, use the following parameters (default is "ON"):
-DENABLE_FFTW=OFF
-DENABLE_HDF5=OFF
-DENABLE_NETCDF=OFF
-DENABLE_FITS=OFF
-DENABLE_CANTOR=OFF
Note, by switching off these libraries the feature set of LabPlot will be reduced.
================================================================================
To install LabPlot execute
# cd build
# make install
================================================================================
To uninstall LabPlot execute
# cd build
# make uninstall
================================================================================
To remove all build files in the base directory execute
# rm -rf build