How To Install magic on Fedora 34

magic is A very capable VLSI layout tool

Introduction

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

What is magic

Magic is a venerable VLSI layout tool. Magic VLSI remains popular with universities and small companies. Magic is widely cited as being the easiest tool to use for circuit layout, even for people who ultimately rely on commercial tools for their product design flow.

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

Install magic 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 magic using dnf by running the following command:

sudo dnf -y install magic

Install magic 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 magic using yum by running the following command:

sudo yum -y install magic

How To Uninstall magic on Fedora 34

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

sudo dnf remove magic

magic Package Contents on Fedora 34

/usr/bin/ext2sim
/usr/bin/ext2spice
/usr/bin/magic
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/9dd89d51d44cc54c9800d3be1ce0425a90e7de
/usr/lib/.build-id/af
/usr/lib/.build-id/af/ceba8845dc0d1c7356b56b3f4ece915bd33328
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/8459e024e80e67c630ee2b34b69d54fea20d2b
/usr/lib64/magic
/usr/lib64/magic/sys
/usr/lib64/magic/sys/.initrc
/usr/lib64/magic/sys/.magicrc
/usr/lib64/magic/sys/FreeMono.pt3
/usr/lib64/magic/sys/FreeSans.pt3
/usr/lib64/magic/sys/FreeSerif.pt3
/usr/lib64/magic/sys/bw.glyphs
/usr/lib64/magic/sys/color.glyphs
/usr/lib64/magic/sys/gdsquery.tech
/usr/lib64/magic/sys/magicps.pro
/usr/lib64/magic/sys/minimum.tech
/usr/lib64/magic/sys/mos.24bit.dstyle
/usr/lib64/magic/sys/mos.24bit.std.cmap
/usr/lib64/magic/sys/mos.7bit.dstyle
/usr/lib64/magic/sys/mos.7bit.mraster.cmap
/usr/lib64/magic/sys/mos.7bit.mraster_dstyle
/usr/lib64/magic/sys/mos.7bit.std.cmap
/usr/lib64/magic/sys/mos.OpenGL.dstyle
/usr/lib64/magic/sys/mos.OpenGL.std.cmap
/usr/lib64/magic/sys/nmos.tech
/usr/lib64/magic/sys/scmos-sub.tech
/usr/lib64/magic/sys/scmos-tm.tech
/usr/lib64/magic/sys/scmos.tech
/usr/lib64/magic/sys/scmosWR.tech
/usr/lib64/magic/sys/vfont.B.12
/usr/lib64/magic/sys/vfont.I.12
/usr/lib64/magic/sys/vfont.R.8
/usr/lib64/magic/sys/windows11.glyphs
/usr/lib64/magic/sys/windows14.glyphs
/usr/lib64/magic/sys/windows22.glyphs
/usr/lib64/magic/sys/windows7.glyphs
/usr/lib64/magic/tcl
/usr/lib64/magic/tcl/bitmaps
/usr/lib64/magic/tcl/bitmaps/down.gif
/usr/lib64/magic/tcl/bitmaps/left.gif
/usr/lib64/magic/tcl/bitmaps/lock.xbm
/usr/lib64/magic/tcl/bitmaps/right.gif
/usr/lib64/magic/tcl/bitmaps/up.gif
/usr/lib64/magic/tcl/bitmaps/zoom.gif
/usr/lib64/magic/tcl/bsitools.tcl
/usr/lib64/magic/tcl/cellmgr.tcl
/usr/lib64/magic/tcl/console.tcl
/usr/lib64/magic/tcl/drcmgr.tcl
/usr/lib64/magic/tcl/libmgr.tcl
/usr/lib64/magic/tcl/magic.tcl
/usr/lib64/magic/tcl/magicdnull
/usr/lib64/magic/tcl/magicexec
/usr/lib64/magic/tcl/mazeroute.tcl
/usr/lib64/magic/tcl/readspice.tcl
/usr/lib64/magic/tcl/socketcmd.tcl
/usr/lib64/magic/tcl/strip_reflibs.tcl
/usr/lib64/magic/tcl/tclmagic.so
/usr/lib64/magic/tcl/techbuilder.tcl
/usr/lib64/magic/tcl/texthelper.tcl
/usr/lib64/magic/tcl/tkcon.tcl
/usr/lib64/magic/tcl/tkshell.tcl
/usr/lib64/magic/tcl/toolkit.tcl
/usr/lib64/magic/tcl/toolkit_rev0.tcl
/usr/lib64/magic/tcl/tools.tcl
/usr/lib64/magic/tcl/wrapper.tcl
/usr/share/applications/magic.desktop
/usr/share/doc/magic
/usr/share/doc/magic/README
/usr/share/doc/magic/README.Tcl
/usr/share/doc/magic/TODO
/usr/share/doc/magic/VERSION
/usr/share/icons/hicolor/128x128/apps/magic.png
/usr/share/man/man1/ext2sim.1.gz
/usr/share/man/man1/ext2spice.1.gz
/usr/share/man/man1/magic.1.gz
/usr/share/man/man5/cmap.5.gz
/usr/share/man/man5/displays.5.gz
/usr/share/man/man5/dlys.5.gz
/usr/share/man/man5/dstyle.5.gz
/usr/share/man/man5/ext.5.gz
/usr/share/man/man5/glyphs.5.gz
/usr/share/man/man5/mag.5.gz
/usr/share/man/man5/net.5.gz
/usr/share/man/man5/sim.5.gz
/usr/bin/ext2sim
/usr/bin/ext2spice
/usr/bin/magic
/usr/lib/.build-id
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/a923b340a8265e5b0e54713c1458779d9de755
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/71202ee30629c233500e24a25ceff5b5dfd26d
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/ec8ed86fa65be12c3aefd0e2dba3135475c87f
/usr/lib64/magic
/usr/lib64/magic/sys
/usr/lib64/magic/sys/.initrc
/usr/lib64/magic/sys/.magicrc
/usr/lib64/magic/sys/FreeMono.pt3
/usr/lib64/magic/sys/FreeSans.pt3
/usr/lib64/magic/sys/FreeSerif.pt3
/usr/lib64/magic/sys/bw.glyphs
/usr/lib64/magic/sys/color.glyphs
/usr/lib64/magic/sys/gdsquery.tech
/usr/lib64/magic/sys/magicps.pro
/usr/lib64/magic/sys/minimum.tech
/usr/lib64/magic/sys/mos.24bit.dstyle
/usr/lib64/magic/sys/mos.24bit.std.cmap
/usr/lib64/magic/sys/mos.7bit.dstyle
/usr/lib64/magic/sys/mos.7bit.mraster.cmap
/usr/lib64/magic/sys/mos.7bit.mraster_dstyle
/usr/lib64/magic/sys/mos.7bit.std.cmap
/usr/lib64/magic/sys/mos.OpenGL.dstyle
/usr/lib64/magic/sys/mos.OpenGL.std.cmap
/usr/lib64/magic/sys/nmos.tech
/usr/lib64/magic/sys/scmos-sub.tech
/usr/lib64/magic/sys/scmos-tm.tech
/usr/lib64/magic/sys/scmos.tech
/usr/lib64/magic/sys/scmosWR.tech
/usr/lib64/magic/sys/vfont.B.12
/usr/lib64/magic/sys/vfont.I.12
/usr/lib64/magic/sys/vfont.R.8
/usr/lib64/magic/sys/windows11.glyphs
/usr/lib64/magic/sys/windows14.glyphs
/usr/lib64/magic/sys/windows22.glyphs
/usr/lib64/magic/sys/windows7.glyphs
/usr/lib64/magic/tcl
/usr/lib64/magic/tcl/bitmaps
/usr/lib64/magic/tcl/bitmaps/down.gif
/usr/lib64/magic/tcl/bitmaps/left.gif
/usr/lib64/magic/tcl/bitmaps/lock.xbm
/usr/lib64/magic/tcl/bitmaps/right.gif
/usr/lib64/magic/tcl/bitmaps/up.gif
/usr/lib64/magic/tcl/bitmaps/zoom.gif
/usr/lib64/magic/tcl/bsitools.tcl
/usr/lib64/magic/tcl/cellmgr.tcl
/usr/lib64/magic/tcl/console.tcl
/usr/lib64/magic/tcl/drcmgr.tcl
/usr/lib64/magic/tcl/libmgr.tcl
/usr/lib64/magic/tcl/magic.tcl
/usr/lib64/magic/tcl/magicdnull
/usr/lib64/magic/tcl/magicexec
/usr/lib64/magic/tcl/mazeroute.tcl
/usr/lib64/magic/tcl/readspice.tcl
/usr/lib64/magic/tcl/socketcmd.tcl
/usr/lib64/magic/tcl/strip_reflibs.tcl
/usr/lib64/magic/tcl/tclmagic.so
/usr/lib64/magic/tcl/techbuilder.tcl
/usr/lib64/magic/tcl/texthelper.tcl
/usr/lib64/magic/tcl/tkcon.tcl
/usr/lib64/magic/tcl/tkshell.tcl
/usr/lib64/magic/tcl/toolkit.tcl
/usr/lib64/magic/tcl/toolkit_rev0.tcl
/usr/lib64/magic/tcl/tools.tcl
/usr/lib64/magic/tcl/wrapper.tcl
/usr/share/applications/magic.desktop
/usr/share/doc/magic
/usr/share/doc/magic/README
/usr/share/doc/magic/README.Tcl
/usr/share/doc/magic/TODO
/usr/share/doc/magic/VERSION
/usr/share/icons/hicolor/128x128/apps/magic.png
/usr/share/man/man1/ext2sim.1.gz
/usr/share/man/man1/ext2spice.1.gz
/usr/share/man/man1/magic.1.gz
/usr/share/man/man5/cmap.5.gz
/usr/share/man/man5/displays.5.gz
/usr/share/man/man5/dlys.5.gz
/usr/share/man/man5/dstyle.5.gz
/usr/share/man/man5/ext.5.gz
/usr/share/man/man5/glyphs.5.gz
/usr/share/man/man5/mag.5.gz
/usr/share/man/man5/net.5.gz
/usr/share/man/man5/sim.5.gz

References

Summary

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