xtrlock command not found

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

Introduction

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

xtrlock: command not found

or when using sudo you get the following error message

sudo: xtrlock: command not found

Solutions to xtrlock: command not found

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

In Ubuntu xtrlock is provided by xtrlock package.

xtrlock is:

xtrlock is a very minimal X display lock program, which uses nothing except the Xlib library. It doesn’t obscure the screen, it is completely idle while the display is locked and you don’t type at it, and it doesn’t do funny things to the X access control lists.

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

sudo apt-get -y install xtrlock

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

You can also use apt command to install xtrlock.

sudo apt -y install xtrlock

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

sudo aptitude install xtrlock

Summary

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