How To Install dejagnu on Fedora 36
Introduction
In this tutorial we learn how to install dejagnu
on Fedora 36.
What is dejagnu
DejaGnu is an Expect/Tcl based framework for testing other programs. DejaGnu has several purposes program; to allow you to write tests which will be portable to any host or target where a program must be tested; and to standardize the output format of all tests (making it easier to integrate the testing into software development).
We can use yum
or dnf
to install dejagnu
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install dejagnu.
Install dejagnu 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 dejagnu
using dnf
by running the following command:
sudo dnf -y install dejagnu
Install dejagnu 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 dejagnu
using yum
by running the following command:
sudo yum -y install dejagnu
How To Uninstall dejagnu on Fedora 36
To uninstall only the dejagnu
package we can use the following command:
sudo dnf remove dejagnu
dejagnu Package Contents on Fedora 36
/usr/bin/dejagnu
/usr/bin/runtest
/usr/include/dejagnu.h
/usr/share/dejagnu
/usr/share/dejagnu/baseboards
/usr/share/dejagnu/baseboards/README
/usr/share/dejagnu/baseboards/aarch64-sim.exp
/usr/share/dejagnu/baseboards/am33_2.0-libremote.exp
/usr/share/dejagnu/baseboards/androideabi.exp
/usr/share/dejagnu/baseboards/arm-ice.exp
/usr/share/dejagnu/baseboards/arm-sid.exp
/usr/share/dejagnu/baseboards/arm-sim.exp
/usr/share/dejagnu/baseboards/basic-sid.exp
/usr/share/dejagnu/baseboards/basic-sim.exp
/usr/share/dejagnu/baseboards/cris-sim.exp
/usr/share/dejagnu/baseboards/d30v-sim.exp
/usr/share/dejagnu/baseboards/fr30-sim.exp
/usr/share/dejagnu/baseboards/frv-sim.exp
/usr/share/dejagnu/baseboards/gdbserver-sample.exp
/usr/share/dejagnu/baseboards/generic-sim.exp
/usr/share/dejagnu/baseboards/i386-sid.exp
/usr/share/dejagnu/baseboards/iq2000-sim.exp
/usr/share/dejagnu/baseboards/jmr3904-sim.exp
/usr/share/dejagnu/baseboards/linux-gdbserver.exp
/usr/share/dejagnu/baseboards/linux-libremote.exp
/usr/share/dejagnu/baseboards/m68k-sid.exp
/usr/share/dejagnu/baseboards/mcore-moto-sim.exp
/usr/share/dejagnu/baseboards/mcore-sim.exp
/usr/share/dejagnu/baseboards/mips-lnews-sim.exp
/usr/share/dejagnu/baseboards/mips-lsi-sim.exp
/usr/share/dejagnu/baseboards/mips-sim-idt32.exp
/usr/share/dejagnu/baseboards/mips-sim-idt64.exp
/usr/share/dejagnu/baseboards/mips-sim-mti32.exp
/usr/share/dejagnu/baseboards/mips-sim-mti64.exp
/usr/share/dejagnu/baseboards/mips-sim-mti64_64.exp
/usr/share/dejagnu/baseboards/mips-sim-mti64_n32.exp
/usr/share/dejagnu/baseboards/mips-sim-sde32.exp
/usr/share/dejagnu/baseboards/mips-sim-sde64.exp
/usr/share/dejagnu/baseboards/mips-sim.exp
/usr/share/dejagnu/baseboards/mmixware-sim.exp
/usr/share/dejagnu/baseboards/mn10200-sim.exp
/usr/share/dejagnu/baseboards/mn10300-sim.exp
/usr/share/dejagnu/baseboards/moxie-sim.exp
/usr/share/dejagnu/baseboards/msp430-sim.exp
/usr/share/dejagnu/baseboards/mt-sid.exp
/usr/share/dejagnu/baseboards/multi-sim.exp
/usr/share/dejagnu/baseboards/pi.exp
/usr/share/dejagnu/baseboards/powerpc-sim.exp
/usr/share/dejagnu/baseboards/powerpcle-sim.exp
/usr/share/dejagnu/baseboards/pru-sim.exp
/usr/share/dejagnu/baseboards/qemu.exp
/usr/share/dejagnu/baseboards/riscv-sim.exp
/usr/share/dejagnu/baseboards/rx-sim.exp
/usr/share/dejagnu/baseboards/sh-sid.exp
/usr/share/dejagnu/baseboards/sh-sim.exp
/usr/share/dejagnu/baseboards/sparc-sim.exp
/usr/share/dejagnu/baseboards/sparc64-sim.exp
/usr/share/dejagnu/baseboards/sparclite-sim-le.exp
/usr/share/dejagnu/baseboards/sparclite-sim.exp
/usr/share/dejagnu/baseboards/tx39-sim.exp
/usr/share/dejagnu/baseboards/unix.exp
/usr/share/dejagnu/baseboards/v850-sim.exp
/usr/share/dejagnu/baseboards/visium-sim.exp
/usr/share/dejagnu/baseboards/vr4100-sim.exp
/usr/share/dejagnu/baseboards/vr4111-sim.exp
/usr/share/dejagnu/baseboards/vr4300-sim.exp
/usr/share/dejagnu/baseboards/xtensa-sim.exp
/usr/share/dejagnu/commands
/usr/share/dejagnu/commands/help.sh
/usr/share/dejagnu/commands/report-card.awk
/usr/share/dejagnu/config
/usr/share/dejagnu/config/README
/usr/share/dejagnu/config/aarch64-fv8.exp
/usr/share/dejagnu/config/adb.exp
/usr/share/dejagnu/config/default.exp
/usr/share/dejagnu/config/gdb-comm.exp
/usr/share/dejagnu/config/gdb_stub.exp
/usr/share/dejagnu/config/sid.exp
/usr/share/dejagnu/config/sim.exp
/usr/share/dejagnu/config/unix.exp
/usr/share/dejagnu/config/vxworks.exp
/usr/share/dejagnu/debugger.exp
/usr/share/dejagnu/dejagnu.exp
/usr/share/dejagnu/dg.exp
/usr/share/dejagnu/dmucs.exp
/usr/share/dejagnu/framework.exp
/usr/share/dejagnu/ftp.exp
/usr/share/dejagnu/kermit.exp
/usr/share/dejagnu/libexec
/usr/share/dejagnu/libexec/config.guess
/usr/share/dejagnu/libgloss.exp
/usr/share/dejagnu/remote.exp
/usr/share/dejagnu/rlogin.exp
/usr/share/dejagnu/rsh.exp
/usr/share/dejagnu/runtest.exp
/usr/share/dejagnu/ssh.exp
/usr/share/dejagnu/standard.exp
/usr/share/dejagnu/stub-loader.c
/usr/share/dejagnu/target.exp
/usr/share/dejagnu/targetdb.exp
/usr/share/dejagnu/telnet.exp
/usr/share/dejagnu/testglue.c
/usr/share/dejagnu/tip.exp
/usr/share/dejagnu/utils.exp
/usr/share/doc/dejagnu
/usr/share/doc/dejagnu/AUTHORS
/usr/share/doc/dejagnu/COPYING
/usr/share/doc/dejagnu/ChangeLog
/usr/share/doc/dejagnu/NEWS
/usr/share/doc/dejagnu/README
/usr/share/doc/dejagnu/dejagnu.texi
/usr/share/info/dejagnu.info.gz
/usr/share/man/man1/dejagnu-help.1.gz
/usr/share/man/man1/dejagnu-report-card.1.gz
/usr/share/man/man1/dejagnu.1.gz
/usr/share/man/man1/runtest.1.gz
References
Summary
In this tutorial we learn how to install dejagnu
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).