unity-greeter command not found

In this troubleshooting guide we learn how to fix unity-greeter command not found error message

Introduction

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

unity-greeter: command not found

or when using sudo you get the following error message

sudo: unity-greeter: command not found

Solutions to unity-greeter: command not found

How To Fix unity-greeter: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu unity-greeter is provided by unity-greeter package.

unity-greeter is:

The greeter for the Unity desktop.

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

sudo apt-get -y install unity-greeter

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

You can also use apt command to install unity-greeter.

sudo apt -y install unity-greeter

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

sudo aptitude install unity-greeter

Summary

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