cinnamon-session-quit command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cinnamon-session-quit: command not found
or when using sudo you get the following error message
sudo: cinnamon-session-quit: command not found
Solutions to cinnamon-session-quit: command not found
How To Fix cinnamon-session-quit: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cinnamon-session-quit is provided by cinnamon-session package.
cinnamon-session is:
The Cinnamon Session Manager is in charge of starting the core components of the Cinnamon desktop, and applications that should be launched at login time. It also features a way to save and restore currently running applications.
This package contains the binaries for the Cinnamon Session Manager, but no startup scripts. It is meant for those willing to start cinnamon-session by hand with the components of their choice, and for applications such as MDM that use cinnamon-session internally.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cinnamon-session
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cinnamon-session.
sudo apt -y install cinnamon-session
Or if you have aptitude installed you can use the following command.
sudo aptitude install cinnamon-session
Summary
In this tutorial we learn how to fix cinnamon-session-quit command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.