buffer command not found

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

Introduction

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

buffer: command not found

or when using sudo you get the following error message

sudo: buffer: command not found

Solutions to buffer: command not found

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

In Ubuntu buffer is provided by buffer package.

buffer is:

Buffer implements double buffering and can be used to keep backup tapes streaming or printers printing. It can also be used to convert a data stream to a given output blocksize.

Buffer uses shared memory to convert a variable input data rate to a constant output data rate. It is typically used in a pipe between a backup program and the tape device, but there are also other applications like buffering printer data in lpd’s input filter.

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

sudo apt-get -y install buffer

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

You can also use apt command to install buffer.

sudo apt -y install buffer

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

sudo aptitude install buffer

Summary

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