Warning, /system/partitionmanager/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: 2016-2019 Andrius Štikonas <andrius@stikonas.eu>
0003      SPDX-License-Identifier: GFDL-1.2-or-later
0004 -->
0005 
0006 Building and installing KDE Partition Manager from source
0007 =========================================================
0008 
0009 
0010 1. Dependencies
0011 
0012 KDE Frameworks: The minimum required version is 5.31.
0013 
0014 KPMcore: https://cgit.kde.org/kpmcore.git/
0015 
0016 
0017 2. Configure
0018 
0019 KDE Partition Manager is built with cmake. It is
0020 recommended to build out of tree: After unpacking the source, create a separate
0021 build directory and run cmake there:
0022 
0023 ```
0024 $ tar xf partitionmanager-x.y.z.tar.xz
0025 $ cd partitionmanager-x.y.z
0026 $ mkdir build
0027 $ cd build
0028 $ cmake ..
0029 ```
0030 
0031 If all dependencies are met, cmake configures the build directory.
0032 
0033 
0034 3. Build and install
0035 
0036 Just run make and make install in the build directory. The default install path
0037 is `/usr/local`, so installing will need write privileges there. You can
0038 configure a different install path by passing
0039 `-DCMAKE_INSTALL_PREFIX=<your_path>` to cmake when configuring. To change the
0040 install path after configuring and building, run
0041 
0042 ```
0043 $ ccmake .
0044 ```
0045 
0046 in the build directory and modify `CMAKE_INSTALL_PREFIX` there.
0047 
0048 
0049 4. Running
0050 
0051 KDE Partition Manager should be run as root. Running it as an unprivileged user
0052 does no harm, but the default settings will not allow you to apply any
0053 operations (i.e., you can click through the UI, but cannot modify your disks).
0054 
0055 
0056 5. Troubleshooting
0057 
0058 If you are getting an error like this during the build:
0059 
0060 ```
0061 index.docbook:71: parser error : Entity 'partman' not defined
0062 ```
0063 
0064 there is a problem with a documentation file. This is easily fixed by
0065 commenting out the offending language in `doc/CMakeLists.txt` -- the error
0066 message should indicate which language causes the error. As an alternative, you
0067 can disable building all documentation by commenting out the
0068 `macro_optional_add_subdirectory(doc)` line in the toplevel `CMakeLists.txt` file.
0069