kdeinit5 command not found

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

Introduction

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

kdeinit5: command not found

or when using sudo you get the following error message

sudo: kdeinit5: command not found

Solutions to kdeinit5: command not found

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

In Ubuntu kdeinit5 is provided by kinit package.

kinit is:

kdeinit is a process launcher somewhat similar to the famous init used for booting UNIX.

It launches processes by forking and then loading a dynamic library which should contain a ‘kdemain(…)’ function.

Using kdeinit to launch KDE applications makes starting a typical KDE applications 2.5 times faster (100ms instead of 250ms on a P-III 500) It reduces memory consumption by approx. 350Kb per application.

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

sudo apt-get -y install kinit

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

You can also use apt command to install kinit.

sudo apt -y install kinit

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

sudo aptitude install kinit

Summary

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