File: INSTALL.md

package info (click to toggle)
kpmcore 24.12.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,696 kB
  • sloc: cpp: 20,700; sh: 22; makefile: 7
file content (45 lines) | stat: -rw-r--r-- 1,297 bytes parent folder | download | duplicates (2)
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
<!-- SPDX-FileCopyrightText: 2008-2010 Volker Lanz <vl@fidra.de>
     SPDX-FileCopyrightText: 2015-2019 Andrius Štikonas <andrius@stikonas.eu>
     SPDX-License-Identifier: CC-BY-4.0
-->

Building and installing KDE Partition Manager Core Library from source
=========================================================

## Dependencies

* [util-linux](https://github.com/karelzak/util-linux) 2.34

* [Qt](https://www.qt.io/) 5.10

* Tier 2 [KDE Frameworks](https://www.kde.org/products/frameworks/) 5.56

## Configure

KPMcore is built with [cmake](https://cmake.org/). It is recommended to build out of tree:
After unpacking the source, create a separate build directory and run cmake there:

```bash
$ tar xf kpmcore-x.y.z.tar.xz
$ cd kpmcore-x.y.z
$ mkdir build
$ cd build
$ cmake ..
```

If all dependencies are met, cmake configures the build directory.


## Build and install

Just run make and make install in the build directory. The default install path
is `/usr/local`, so installing will need write privileges there. You can
configure a different install path by passing
`-DCMAKE_INSTALL_PREFIX=<your_path>` to cmake when configuring. To change the
install path after configuring and building, run

```bash
$ ccmake .
```

in the build directory and modify `CMAKE_INSTALL_PREFIX` there.