File: INSTALL.md

package info (click to toggle)
partitionmanager 4.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,284 kB
  • sloc: cpp: 7,188; xml: 265; sh: 5; makefile: 3
file content (64 lines) | stat: -rw-r--r-- 1,794 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Building and installing KDE Partition Manager from source
=========================================================


1. Dependencies

KDE Frameworks: The minimum required version is 5.31.

KPMcore: https://cgit.kde.org/kpmcore.git/


2. Configure

KDE Partition Manager is built with cmake. It is
recommended to build out of tree: After unpacking the source, create a separate
build directory and run cmake there:

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

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


3. 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

```
$ ccmake .
```

in the build directory and modify `CMAKE_INSTALL_PREFIX` there.


4. Running

KDE Partition Manager should be run as root. Running it as an unprivileged user
does no harm, but the default settings will not allow you to apply any
operations (i.e., you can click through the UI, but cannot modify your disks).


5. Troubleshooting

If you are getting an error like this during the build:

```
index.docbook:71: parser error : Entity 'partman' not defined
```

there is a problem with a documentation file. This is easily fixed by
commenting out the offending language in `doc/CMakeLists.txt` -- the error
message should indicate which language causes the error. As an alternative, you
can disable building all documentation by commenting out the
`macro_optional_add_subdirectory(doc)` line in the toplevel `CMakeLists.txt` file.