pbyacc command not found

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

Introduction

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

pbyacc: command not found

or when using sudo you get the following error message

sudo: pbyacc: command not found

Solutions to pbyacc: command not found

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

In Ubuntu pbyacc is provided by perl-byacc package.

perl-byacc is:

Yacc reads the grammar specification in a file and generates an LR(1) parser for it. The parsers consist of a set of LALR(1) parsing tables and a driver routine written in the C programming language. This version is able to produce Perl programs.

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

sudo apt-get -y install perl-byacc

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

You can also use apt command to install perl-byacc.

sudo apt -y install perl-byacc

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

sudo aptitude install perl-byacc

Summary

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