light-locker command not found

In this troubleshooting guide we learn how to fix light-locker command not found error message

Introduction

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

light-locker: command not found

or when using sudo you get the following error message

sudo: light-locker: command not found

Solutions to light-locker: command not found

How To Fix light-locker: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu light-locker is provided by light-locker package.

light-locker is:

light-locker is a simple screen locker that aims to have simple, sane, secure defaults and be well integrated with the desktop while not carrying any desktop-specific dependencies.

It relies on lightdm for locking and unlocking your session via logind/systemd.

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

sudo apt-get -y install light-locker

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

You can also use apt command to install light-locker.

sudo apt -y install light-locker

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

sudo aptitude install light-locker

Summary

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