How To Install yosys on Fedora 34

yosys is Yosys Open SYnthesis Suite, including Verilog synthesizer Yosys Open SYnthesis Suite, including Verilog synthesizer

Introduction

In this tutorial we learn how to install yosys on Fedora 34.

What is yosys

Yosys is a framework for Verilog RTL synthesis. It currently has extensive Verilog-2005 support and provides a basic set of synthesis algorithms for various application domains. yosys 0.9 12.20210523gitdf2b79c.fc34 x86_64 3.1 M yosys-0.9-12.20210523gitdf2b79c.fc34.src.rpm updates Yosys Open SYnthesis Suite, including Verilog synthesizer http ISC and MIT Yosys is a framework for Verilog RTL synthesis. It currently has extensive Verilog-2005 support and provides a basic set of synthesis algorithms for various application domains.

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

Install yosys on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install yosys

Install yosys on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install yosys using yum by running the following command:

sudo yum -y install yosys

How To Uninstall yosys on Fedora 34

To uninstall only the yosys package we can use the following command:

sudo dnf remove yosys

yosys Package Contents on Fedora 34

/usr/bin/yosys
/usr/bin/yosys-filterlib
/usr/bin/yosys-smtbmc
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/2e36697403916461914b5f9beed8c3eb222ffe
/usr/lib/.build-id/40
/usr/lib/.build-id/40/38842f418223d20412eba3ab3054feef7d6349
/usr/share/doc/yosys
/usr/share/doc/yosys/README.md
/usr/share/licenses/yosys
/usr/share/licenses/yosys/COPYING
/usr/share/man/man1/yosys-filterlib.1.gz
/usr/share/man/man1/yosys-smtbmc.1.gz
/usr/share/man/man1/yosys.1.gz
/usr/bin/yosys
/usr/bin/yosys-filterlib
/usr/bin/yosys-smtbmc
/usr/lib/.build-id
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/41d983fce4d9dde6d96bdc97da82075ff37b0d
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/b5ef0cfae691d4a11006d8a15c3bd9da11fe62
/usr/share/doc/yosys
/usr/share/doc/yosys/README.md
/usr/share/licenses/yosys
/usr/share/licenses/yosys/COPYING
/usr/share/man/man1/yosys-filterlib.1.gz
/usr/share/man/man1/yosys-smtbmc.1.gz
/usr/share/man/man1/yosys.1.gz
/usr/bin/yosys
/usr/bin/yosys-filterlib
/usr/bin/yosys-smtbmc
/usr/lib/.build-id
/usr/lib/.build-id/65
/usr/lib/.build-id/65/09a542d096dd8a312459120b16a366b24033c9
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/80b93d93b87ba0b303a43d5fdd92c4c868cc30
/usr/share/doc/yosys
/usr/share/doc/yosys/README.md
/usr/share/licenses/yosys
/usr/share/licenses/yosys/COPYING
/usr/share/man/man1/yosys-filterlib.1.gz
/usr/share/man/man1/yosys-smtbmc.1.gz
/usr/share/man/man1/yosys.1.gz
/usr/bin/yosys
/usr/bin/yosys-filterlib
/usr/bin/yosys-smtbmc
/usr/lib/.build-id
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/01362756290c5cd719a5ea772adff8871bb12d
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/fb0bcf52f112bea0a85d0a82951460d40bdb87
/usr/share/doc/yosys
/usr/share/doc/yosys/README.md
/usr/share/licenses/yosys
/usr/share/licenses/yosys/COPYING
/usr/share/man/man1/yosys-filterlib.1.gz
/usr/share/man/man1/yosys-smtbmc.1.gz
/usr/share/man/man1/yosys.1.gz

References

Summary

In this tutorial we learn how to install yosys on Fedora 34 using yum and dnf.