Struggling to build Kvantum manager

Hi fellow Bazzite enjoyers was looking for help installing a build of Kvantum manager.
you see when i use the sudo make install command it gives this error in the konsole :

CMake Error at style/cmake_install.cmake:60 (file):
file INSTALL cannot copy file
“/var/home/PaxAeterna/Kvantum/build/style/libkvantum.so” to
“/usr/lib64/qt6/plugins/styles/libkvantum.so”: Read-only file system.
Call Stack (most recent call first):
cmake_install.cmake:47 (include)

*Note: I did build from source

any suggests to fix this been wanting to rice my Plasma setup thanks :wink:

/usr/ is not modifiable on Atomic desktops, so anything that writes to it, including RPM installs and builds that installs native packages/libraries will not work.

If you really need Kvantum you might have to layer it - I don’t know if it will work inside a Distrobox container. For layering, see:

1 Like

Interesting so in my konsole would the command be sudo rpm-ostree install ( path to build/pakage) or rpm-ostree make install my apologies :sweat_smile: new to this

Also I had a read through the rpm-ostree documentation

Thank you

Since you are building from source, you should make sure the prefix for the install is /usr/local.

You shouldn’t mix locally built packages with the system packages.

1 Like

Is there a reason why you’re building it from source instead of using Fedora repo’s Kvantum? Either way you could try building the package in a Fedora Distrobox and see if it can result in an .RPM for you to install on your host. Your mileage may vary though, and I can’t guarantee it will work.

You could also choose to make a custom image on Github with the runner building Kvantum inside the image. Here is the UBlue custom image template: GitHub - ublue-os/image-template: Build your own custom Universal Blue Image!

Well i tried to install it with sudo rpm-ostree install Kvantum but it gave an error :thinking:. When i get home ill try that :grin: