cat_nvram command not found

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

Introduction

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

cat_nvram: command not found

or when using sudo you get the following error message

sudo: cat_nvram: command not found

Solutions to cat_nvram: command not found

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

In Ubuntu cat_nvram is provided by nvram-wakeup package.

nvram-wakeup is:

nvram-wakeup can read and write the wake up time in the BIOS (via /dev/nvram on recent 2.4.x kernels or direct I/O port access). On this wake up time the computer will be powered on automatically from the soft-off state. For the video disc recorder VDR, nvram-wakeup installs a hook script, that allows VDR to set a wake up time, when it powers down.

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

sudo apt-get -y install nvram-wakeup

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

You can also use apt command to install nvram-wakeup.

sudo apt -y install nvram-wakeup

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

sudo aptitude install nvram-wakeup

Summary

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