Warning, /system/kpmcore/INSTALL.md is written in an unsupported language. File is not indexed.

0001 <!-- SPDX-FileCopyrightText: 2008-2010 Volker Lanz <vl@fidra.de>
0002      SPDX-FileCopyrightText: 2015-2019 Andrius Štikonas <andrius@stikonas.eu>
0003      SPDX-License-Identifier: CC-BY-4.0
0004 -->
0005 
0006 Building and installing KDE Partition Manager Core Library from source
0007 =========================================================
0008 
0009 ## Dependencies
0010 
0011 * [util-linux](https://github.com/karelzak/util-linux) 2.34
0012 
0013 * [Qt](https://www.qt.io/) 5.10
0014 
0015 * Tier 2 [KDE Frameworks](https://www.kde.org/products/frameworks/) 5.56
0016 
0017 ## Configure
0018 
0019 KPMcore is built with [cmake](https://cmake.org/). It is recommended to build out of tree:
0020 After unpacking the source, create a separate build directory and run cmake there:
0021 
0022 ```bash
0023 $ tar xf kpmcore-x.y.z.tar.xz
0024 $ cd kpmcore-x.y.z
0025 $ mkdir build
0026 $ cd build
0027 $ cmake ..
0028 ```
0029 
0030 If all dependencies are met, cmake configures the build directory.
0031 
0032 
0033 ## Build and install
0034 
0035 Just run make and make install in the build directory. The default install path
0036 is `/usr/local`, so installing will need write privileges there. You can
0037 configure a different install path by passing
0038 `-DCMAKE_INSTALL_PREFIX=<your_path>` to cmake when configuring. To change the
0039 install path after configuring and building, run
0040 
0041 ```bash
0042 $ ccmake .
0043 ```
0044 
0045 in the build directory and modify `CMAKE_INSTALL_PREFIX` there.