_pcbnew.kiface command not found

In this troubleshooting guide we learn how to fix _pcbnew.kiface command not found error message

Introduction

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

_pcbnew.kiface: command not found

or when using sudo you get the following error message

sudo: _pcbnew.kiface: command not found

Solutions to _pcbnew.kiface: command not found

How To Fix _pcbnew.kiface: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu _pcbnew.kiface is provided by kicad package.

kicad is:

Kicad is a suite of programs for the creation of printed circuit boards. It includes a schematic editor, a PCB layout tool, support tools and a 3D viewer to display a finished & fully populated PCB.

Kicad is made up of 5 main components:

  • kicad - project manager
  • eeschema - schematic editor
  • pcbnew - PCB editor
  • gerbview - GERBER viewer
  • cvpcb - footprint selector for components

Libraries:

  • Both eeschema and pcbnew have library managers and editors for their components and footprints
  • You can easily create, edit, delete and exchange library items
  • Documentation files can be associated with components, footprints and key words, allowing a fast search by function
  • Very large libraries are available for schematic components and footprints
  • Most components have corresponding 3D models

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

sudo apt-get -y install kicad

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

You can also use apt command to install kicad.

sudo apt -y install kicad

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

sudo aptitude install kicad

Summary

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