physlock command not found

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

Introduction

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

physlock: command not found

or when using sudo you get the following error message

sudo: physlock: command not found

Solutions to physlock: command not found

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

In Ubuntu physlock is provided by physlock package.

physlock is:

physlock is an alternative to vlock, it is equivalent to `vlock -an’. It is written because vlock blocks some Linux kernel mechanisms like hibernate and suspend and can therefore only be used with some limitations. physlock is designed to be more lightweight and it does not have a plugin interface.

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

sudo apt-get -y install physlock

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

You can also use apt command to install physlock.

sudo apt -y install physlock

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

sudo aptitude install physlock

Summary

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