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:
- Install the required dependencies and packages
- Download and install EDA
- 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:
- Download EDA from https://eda.jortilles.com/downloads/eda-2.3.0.xz
- Extract the downloaded file using the following command:
tar -xvf eda-2.3.0.xz
- Change directory to the extracted folder:
cd eda-2.3.0
- 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:
- Create a configuration file for EDA in your home directory:
echo "DISTR_DIR=/usr/local/share/eda/\${DISTR_VERSION}" > ~/.edarc
- 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 $*
- Make the script executable:
chmod +x eda.sh
- 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.