kwriteconfig5 command not found

In this troubleshooting guide we learn how to fix kwriteconfig5 command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

kwriteconfig5: command not found

or when using sudo you get the following error message

sudo: kwriteconfig5: command not found

Solutions to kwriteconfig5: command not found

How To Fix kwriteconfig5: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu kwriteconfig5 is provided by libkf5config-bin package.

libkf5config-bin is:

KConfig provides an advanced configuration system. It is made of two parts: KConfigCore and KConfigGui.

KConfigCore provides access to the configuration files themselves. It features:

  • centralized definition: define your configuration in an XML file and use kconfig_compiler to generate classes to read and write configuration entries.
  • lock-down (kiosk) support.

KConfigGui provides a way to hook widgets to the configuration so that they are automatically initialized from the configuration and automatically propagate their changes to their respective configuration files.

This package is part of KDE Frameworks 5.

This package contains runtime files for KConfig.

To fix this problem, we can install more using the command below.

sudo apt-get -y install libkf5config-bin

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install libkf5config-bin.

sudo apt -y install libkf5config-bin

Or if you have aptitude installed you can use the following command.

sudo aptitude install libkf5config-bin

Summary

In this tutorial we learn how to fix kwriteconfig5 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.