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 * QCA
0016 
0017 * Tier 2 [KDE Frameworks](https://www.kde.org/products/frameworks/) 5.56
0018 
0019 ## Configure
0020 
0021 KPMcore is built with [cmake](https://cmake.org/). It is recommended to build out of tree:
0022 After unpacking the source, create a separate build directory and run cmake there:
0023 
0024 ```bash
0025 $ tar xf kpmcore-x.y.z.tar.xz
0026 $ cd kpmcore-x.y.z
0027 $ mkdir build
0028 $ cd build
0029 $ cmake ..
0030 ```
0031 
0032 If all dependencies are met, cmake configures the build directory.
0033 
0034 
0035 ## Build and install
0036 
0037 Just run make and make install in the build directory. The default install path
0038 is `/usr/local`, so installing will need write privileges there. You can
0039 configure a different install path by passing
0040 `-DCMAKE_INSTALL_PREFIX=<your_path>` to cmake when configuring. To change the
0041 install path after configuring and building, run
0042 
0043 ```bash
0044 $ ccmake .
0045 ```
0046 
0047 in the build directory and modify `CMAKE_INSTALL_PREFIX` there.