How to Install EDA on OpenBSD

EDA is a package for Electronic Design Automation. It is available on https://eda.jortilles.com/en/jortilles-english/. This tutorial explains how to install it on OpenBSD.

Prerequisites

Before we proceed, please ensure that your OpenBSD system is up-to-date using the following command:

sudo pkg_add -u

Installation

The installation of EDA on OpenBSD consists of the following steps:

  1. Install the required dependencies and packages
  2. Download and install EDA
  3. Configure EDA for use

1. Install the Required Dependencies and Packages

EDA requires some dependencies and packages to operate properly. Please install them using the following command:

sudo pkg_add -I gtk+3+ docbook-xsl yelp-tools mkdocs gmake gcc gperf cmake

2. Download and Install EDA

EDA is not available in OpenBSD's official package repositories. We will need to download and install it manually. Here are the steps:

  1. Download EDA from https://eda.jortilles.com/downloads/eda-2.3.0.xz
  2. Extract the downloaded file using the following command:
tar -xvf eda-2.3.0.xz
  1. Change directory to the extracted folder:
cd eda-2.3.0
  1. Compile and install EDA by running the following command:
 ./configure && make && sudo make install

3. Configure EDA for Use

After installing EDA, the next step is to configure it. To do that, follow these steps:

  1. Create a configuration file for EDA in your home directory:
echo "DISTR_DIR=/usr/local/share/eda/\${DISTR_VERSION}" > ~/.edarc
  1. Create the following shell scripts for easy access to EDA commands:

eda.sh

#!/bin/sh
PATH="/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
export PATH
export DISTR_VERSION=2.3
/usr/local/bin/eda $*
  1. Make the script executable:
chmod +x eda.sh
  1. Move the script to /usr/local/bin/:
sudo mv eda.sh /usr/local/bin/

Conclusion

You have successfully installed and configured EDA on OpenBSD. You can now start using it for your electronic design automation purposes.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!