How To Install pcb-rnd on Kali Linux

In this tutorial we learn how to install pcb-rnd on Kali Linux. pcb-rnd is Standard installation of pcb-rnd

Introduction

In this tutorial we learn how to install pcb-rnd on Kali Linux.

What is pcb-rnd

pcb-rnd is:

pcb-rnd is a highly modular PCB (Printed Circuit Board) layout tool with a rich set of plugins for communicating with various external design tools and other EDA/CAD packages.

Feature highlights:

  • subcircuits, pad stacks
  • flexible footprint model; unrestricted pad shapes
  • arbitrary copper, silk, paste and soldermask objects
  • sophisticated, flexible layer model
  • flexible/universal polygon model
  • any object, even polygons, can have a clearance within a polygon
  • advanced mil and mm grid, with support for mixed unit design
  • strong CLI support
  • static footprints and parametric (generated) footprints
  • query language for advanced search & select
  • powerful, user scriptable, modular Design Rule Checker (DRC)
  • layout optimizers such as teardrops and a trace puller
  • footprint library from local file systems, HTTP and board files
  • netlist management: imported and as-built; back annotation

File formats and compatibility:

  • text based, tree structured native file format (lihata)
  • import board:
    • autotrax PCB board, version 4
    • autotrax PCB board, version 5
    • dsn board
    • eagle xml board version 6, 7, 8
    • eagle binary board version 3, 4, 5
    • hyperlynx board, version 2 and above
    • kicad board, version 3, 4 and 5 (s-expr)
    • lihata pcb-rnd board (any version)
    • gEDA/PCB .pcb board (any version up to 2017)
  • export board:
    • anonimized board statistics in lihata
    • autotrax PCB board, version 4
    • dsn board
    • hyperlynx board, version 2.0
    • kicad board, version 3 (s-expr)
    • kicad pcbnew-board, version 1 (legacy plain text format)
    • lihata pcb-rnd board (any version)
    • gEDA/PCB .pcb board (various version up to 2017 )
  • import footprint:
    • BXL footprints
    • eagle xml footprint lib
    • eagle binary footprint lib
    • lihata pcb-rnd footprint (any version)
    • Mentor Graphics cell footprints
    • gEDA/PCB .fp footprints
    • tEDAx footprint (any version)
  • export footprint:
    • kicad module (s-expr, according to version 3)
    • kicad pcbnew-module (legacy plain text format)
    • lihata pcb-rnd footprint (any version)
    • gEDA/PCB .fp footprints
    • tEDAx footprint (any version)
  • import netlist:
    • Accel ASCII netlists + footprint info
    • calay (netlists + footprint info)
    • flat netlist from EDIF
    • freepcb netlist + footprint info
    • gEDA/gschem (netlist + footpritn info, running gnetlist)
    • import ltspice .net and .asc (netlist and footprint info)
    • flat .edf (netlist+footprint, produced by Mentor Graphics Design Capture)
    • pcb-rnd action script (netlist + footprint info)
    • schematics import by running a commandline
    • netlist import by running a commandline
    • gEDA netlist (plain text, no footprint info)
    • Orcad PCB II (netlist + footprint info)
    • PADS ascii (.asc, netlists + footprint info)
    • Protel netlists 2.0 + footprint info
    • tinycad .net (netlists + footprint info)
    • eeschema netlist and footprint info
    • tEDAx netlist (any version)
  • export netlist:
    • tEDAx netlist (any version)
  • import image:
    • pixmap (e.g. png)
    • pnm (pixmap)
  • export image:
    • render in .png
    • render in .gif
    • render in .jpeg
    • render black&white postscript (single or multiple files)
    • render black&white or color embedded postscript (single file)
    • svg (Scalable Vector Graphics)
  • import misc:
    • specctra .dsn (wires and vias)
    • HPGL plot (lines, arcs, polygons)
    • MUCS unixplot .pl (lines and vias)
    • ttf font
    • eagle DRU (design rules)
    • lihata pcb-rnd font (any version)
    • gEDA/PCB font
    • tEDAx drc
    • tEDAx pcb-rnd drc script
  • export misc:
    • bom (Bill of Materials, text)
    • specctra .dsn (padstacks and subcircuits, works with freerouting.net)
    • .dxf (2D drawing for mech CADs)
    • excellon drill/cnc (for PCB fabbing)
    • fidocad .fcd (partial export)
    • export gcode (for milling)
    • gerber for PCB fabbing
    • IPC-D-356 Netlist (for automated testing)
    • printer (using ps)
    • list of terminal connections (old, custom format)
    • OpenEMS (simulation, matlab files)
    • openscad script (colored 3D model)
    • stl (3d triangulated surface model)
    • geda/PCB xy
    • gxyrs
    • Macrofab’s pick&place
    • pick&place file for the TM220/TM240 device
    • KiCad .pos file
    • IPC-D-356 Netlist (from automated testing)
    • lihata pcb-rnd font (any version)
    • tEDAx etest
    • tEDAx drc
    • tEDAx pcb-rnd drc script

There are three methods to install pcb-rnd on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install pcb-rnd Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install pcb-rnd using apt-get by running the following command:

sudo apt-get -y install pcb-rnd

Install pcb-rnd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install pcb-rnd using apt by running the following command:

sudo apt -y install pcb-rnd

Install pcb-rnd Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install pcb-rnd using aptitude by running the following command:

sudo aptitude -y install pcb-rnd

How To Uninstall pcb-rnd on Kali Linux

To uninstall only the pcb-rnd package we can use the following command:

sudo apt-get remove pcb-rnd

Uninstall pcb-rnd And Its Dependencies

To uninstall pcb-rnd and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove pcb-rnd

Remove pcb-rnd Configurations and Data

To remove pcb-rnd configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge pcb-rnd

Remove pcb-rnd configuration, data, and all of its dependencies

We can use the following command to remove pcb-rnd configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge pcb-rnd

Dependencies

pcb-rnd have the following dependencies:

References

Summary

In this tutorial we learn how to install pcb-rnd package on Kali Linux using different package management tools: apt, apt-get and aptitude.