Library for managing partitions. Common code for KDE Partition Manager and other projects.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.3 KiB

Building and installing KDE Partition Manager Core Library from source



KPMcore 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 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

$ ccmake .

in the build directory and modify CMAKE_INSTALL_PREFIX there.