pcb-lesstif command not found

In this troubleshooting guide we learn how to fix pcb-lesstif command not found error message

Introduction

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

pcb-lesstif: command not found

or when using sudo you get the following error message

sudo: pcb-lesstif: command not found

Solutions to pcb-lesstif: command not found

How To Fix pcb-lesstif: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pcb-lesstif is provided by pcb-lesstif package.

pcb-lesstif is:

PCB is an interactive printed circuit board editor for the X11 window system. PCB includes a rats nest feature, design rule checking, and can provide industry standard RS-274-X (Gerber), NC drill, and centroid data (X-Y data) output for use in the board fabrication and assembly process. PCB offers high end features such as an autorouter and trace optimizer which can tremendously reduce layout time.

This package contains the LessTif user-interface for pcb.

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

sudo apt-get -y install pcb-lesstif

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

You can also use apt command to install pcb-lesstif.

sudo apt -y install pcb-lesstif

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

sudo aptitude install pcb-lesstif

Summary

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