qshutdown command not found

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

Introduction

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

qshutdown: command not found

or when using sudo you get the following error message

sudo: qshutdown: command not found

Solutions to qshutdown: command not found

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

In Ubuntu qshutdown is provided by qshutdown package.

qshutdown is:

qshutdown is a Qt program to shutdown/reboot/suspend/hibernate the computer at a given time or after a certain number of minutes. It shows the time until the corresponding request is send to either the Gnome- or KDE-session-manager, to HAL or to DeviceKit and if none of these works the command ‘sudo shutdown -P now’ is used. This program may be useful for people who want to work with the computer only for a certain time.

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

sudo apt-get -y install qshutdown

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

You can also use apt command to install qshutdown.

sudo apt -y install qshutdown

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

sudo aptitude install qshutdown

Summary

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