xschem command not found

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

Introduction

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

xschem: command not found

or when using sudo you get the following error message

sudo: xschem: command not found

Solutions to xschem: command not found

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

In Ubuntu xschem is provided by xschem package.

xschem is:

Xschem is a schematic capture program, it allows creation of hierarchical representation of circuits with a top down approach. By focusing on interfaces, hierarchy and instance properties a complex system can be described in terms of simpler building blocks. A VHDL or Verilog or Spice netlist can be generated from the drawn schematic, allowing the simulation of the circuit. Key feature of the program is its drawing engine written in C and using directly the Xlib drawing primitives; this gives very good speed performance, even on very big circuits. The user interface is built with the Tcl-Tk toolkit, tcl is also the extension language used.

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

sudo apt-get -y install xschem

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

You can also use apt command to install xschem.

sudo apt -y install xschem

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

sudo aptitude install xschem

Summary

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