How To Install dia-electric2 on Fedora 36

In this tutorial we learn how to install dia-electric2 in Fedora 36. dia-electric2 is Dia Digital IC logic shapes

Introduction

In this tutorial we learn how to install dia-electric2 on Fedora 36.

What is dia-electric2

The following shapes are included in the package * CKT Breaker * Generator * Isolator * Transformer

We can use yum or dnf to install dia-electric2 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install dia-electric2.

Install dia-electric2 on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install dia-electric2 using dnf by running the following command:

sudo dnf -y install dia-electric2

Install dia-electric2 on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install dia-electric2 using yum by running the following command:

sudo yum -y install dia-electric2

How To Uninstall dia-electric2 on Fedora 36

To uninstall only the dia-electric2 package we can use the following command:

sudo dnf remove dia-electric2

dia-electric2 Package Contents on Fedora 36

/usr/share/dia/shapes/electric2
/usr/share/dia/shapes/electric2/ckt-breaker.png
/usr/share/dia/shapes/electric2/ckt-breaker.shape
/usr/share/dia/shapes/electric2/generator.png
/usr/share/dia/shapes/electric2/generator.shape
/usr/share/dia/shapes/electric2/isolator.png
/usr/share/dia/shapes/electric2/isolator.shape
/usr/share/dia/shapes/electric2/transformer.png
/usr/share/dia/shapes/electric2/transformer.shape
/usr/share/dia/sheets/electric2.sheet
/usr/share/doc/dia-electric2
/usr/share/doc/dia-electric2/COPYING

References

Summary

In this tutorial we learn how to install dia-electric2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).