How To Install insight on Fedora 34

insight is Graphical debugger based on GDB

Introduction

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

What is insight

Insight is a tight graphical user interface to GDB written in Tcl/Tk. It provides a comprehensive interface that enables users to harness most of GDB’s power. It’s also probably the only up-to-date UI for the latest GDB version.

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

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

sudo dnf -y install insight

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

sudo yum -y install insight

How To Uninstall insight on Fedora 34

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

sudo dnf remove insight

insight Package Contents on Fedora 34

/usr/bin/insight
/usr/lib/.build-id
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/a7e266d1edd1cfe93420cd61693106a1ae9b8f
/usr/share/applications/insight.desktop
/usr/share/doc/insight
/usr/share/doc/insight/COPYING
/usr/share/doc/insight/COPYING3
/usr/share/doc/insight/HOW-TO
/usr/share/doc/insight/NEWS
/usr/share/doc/insight/README
/usr/share/insight
/usr/share/insight/about.tcl
/usr/share/insight/actiondlg.tcl
/usr/share/insight/attachdlg.itb
/usr/share/insight/attachdlg.ith
/usr/share/insight/auto-load
/usr/share/insight/auto-load/usr
/usr/share/insight/auto-load/usr/lib64
/usr/share/insight/auto-load/usr/lib64/libstdc++.so.6.0.29-gdb.py
/usr/share/insight/blockframe.itb
/usr/share/insight/blockframe.ith
/usr/share/insight/bpwin.itb
/usr/share/insight/bpwin.ith
/usr/share/insight/browserwin.itb
/usr/share/insight/browserwin.ith
/usr/share/insight/console.itb
/usr/share/insight/console.ith
/usr/share/insight/cspref.itb
/usr/share/insight/cspref.ith
/usr/share/insight/debugwin.itb
/usr/share/insight/debugwin.ith
/usr/share/insight/download.itb
/usr/share/insight/download.ith
/usr/share/insight/editor.tcl
/usr/share/insight/ehandler.itb
/usr/share/insight/ehandler.ith
/usr/share/insight/embeddedwin.ith
/usr/share/insight/gdbevent.itb
/usr/share/insight/gdbevent.ith
/usr/share/insight/gdbmenubar.itcl
/usr/share/insight/gdbtoolbar.itcl
/usr/share/insight/gdbwin.ith
/usr/share/insight/globalpref.itb
/usr/share/insight/globalpref.ith
/usr/share/insight/gui
/usr/share/insight/gui/advice.tcl
/usr/share/insight/gui/balloon.tcl
/usr/share/insight/gui/bbox.tcl
/usr/share/insight/gui/bindings.tcl
/usr/share/insight/gui/canvas.tcl
/usr/share/insight/gui/center.tcl
/usr/share/insight/gui/cframe.tcl
/usr/share/insight/gui/combobox.tcl
/usr/share/insight/gui/debugger.tcl
/usr/share/insight/gui/def.tcl
/usr/share/insight/gui/font.tcl
/usr/share/insight/gui/gensym.tcl
/usr/share/insight/gui/gettext.tcl
/usr/share/insight/gui/hooks.tcl
/usr/share/insight/gui/internet.tcl
/usr/share/insight/gui/lframe.tcl
/usr/share/insight/gui/list.tcl
/usr/share/insight/gui/looknfeel.tcl
/usr/share/insight/gui/menu.tcl
/usr/share/insight/gui/mono.tcl
/usr/share/insight/gui/multibox.tcl
/usr/share/insight/gui/pane.tcl
/usr/share/insight/gui/panedwindow.tcl
/usr/share/insight/gui/parse_args.tcl
/usr/share/insight/gui/path.tcl
/usr/share/insight/gui/pkgIndex.tcl
/usr/share/insight/gui/postghost.tcl
/usr/share/insight/gui/prefs.tcl
/usr/share/insight/gui/print.tcl
/usr/share/insight/gui/sendpr.tcl
/usr/share/insight/gui/tclIndex
/usr/share/insight/gui/toolbar.tcl
/usr/share/insight/gui/topbind.tcl
/usr/share/insight/gui/ulset.tcl
/usr/share/insight/gui/ventry.tcl
/usr/share/insight/gui/wframe.tcl
/usr/share/insight/gui/wingrab.tcl
/usr/share/insight/help
/usr/share/insight/help/breakpoint.html
/usr/share/insight/help/browser.html
/usr/share/insight/help/console.html
/usr/share/insight/help/debugger.html
/usr/share/insight/help/gbl_pref.html
/usr/share/insight/help/help.html
/usr/share/insight/help/images
/usr/share/insight/help/images/browser1.png
/usr/share/insight/help/images/browser2.png
/usr/share/insight/help/images/frame_info.gif
/usr/share/insight/help/images/insightbwr.png
/usr/share/insight/help/images/mem_menu.gif
/usr/share/insight/help/images/mem_popup.gif
/usr/share/insight/help/images/mem_pref.gif
/usr/share/insight/help/images/reg.png
/usr/share/insight/help/images/reg_menu.png
/usr/share/insight/help/images/src_bal.gif
/usr/share/insight/help/images/src_bp_bal.gif
/usr/share/insight/help/images/src_bpop.gif
/usr/share/insight/help/images/src_menu.gif
/usr/share/insight/help/images/src_pop.gif
/usr/share/insight/help/images/src_stat.gif
/usr/share/insight/help/images/src_thread.gif
/usr/share/insight/help/images/src_toolbar.gif
/usr/share/insight/help/images/watch.png
/usr/share/insight/help/index.html
/usr/share/insight/help/license.html
/usr/share/insight/help/locals.html
/usr/share/insight/help/memory.html
/usr/share/insight/help/register.html
/usr/share/insight/help/session.html
/usr/share/insight/help/source.html
/usr/share/insight/help/src_pref.html
/usr/share/insight/help/stack.html
/usr/share/insight/help/target.html
/usr/share/insight/help/thread.html
/usr/share/insight/help/trace
/usr/share/insight/help/trace/console.html
/usr/share/insight/help/trace/gbl_pref.html
/usr/share/insight/help/trace/help.html
/usr/share/insight/help/trace/index.toc
/usr/share/insight/help/trace/license.html
/usr/share/insight/help/trace/locals.html
/usr/share/insight/help/trace/memory.html
/usr/share/insight/help/trace/reg_pref.html
/usr/share/insight/help/trace/register.html
/usr/share/insight/help/trace/source.html
/usr/share/insight/help/trace/src_pref.html
/usr/share/insight/help/trace/stack.html
/usr/share/insight/help/trace/target.html
/usr/share/insight/help/trace/tdump.html
/usr/share/insight/help/trace/tp.html
/usr/share/insight/help/trace/tracedlg.html
/usr/share/insight/help/trace/watch.html
/usr/share/insight/help/watch.html
/usr/share/insight/helpviewer.tcl
/usr/share/insight/images
/usr/share/insight/images/Movie_off.gif
/usr/share/insight/images/Movie_on.gif
/usr/share/insight/images/bottom.gif
/usr/share/insight/images/bp.gif
/usr/share/insight/images/check.gif
/usr/share/insight/images/console.gif
/usr/share/insight/images/continue.gif
/usr/share/insight/images/down.gif
/usr/share/insight/images/edit.gif
/usr/share/insight/images/finish.gif
/usr/share/insight/images/gdbtk_icon.gif
/usr/share/insight/images/help.gif
/usr/share/insight/images/home.gif
/usr/share/insight/images/icons.txt
/usr/share/insight/images/insight.gif
/usr/share/insight/images/less.gif
/usr/share/insight/images/memory.gif
/usr/share/insight/images/more.gif
/usr/share/insight/images/next.gif
/usr/share/insight/images/next_check.gif
/usr/share/insight/images/next_frame.gif
/usr/share/insight/images/next_hit.gif
/usr/share/insight/images/next_line.gif
/usr/share/insight/images/nexti.gif
/usr/share/insight/images/open.gif
/usr/share/insight/images/prev_hit.gif
/usr/share/insight/images/reg.gif
/usr/share/insight/images/rewind.gif
/usr/share/insight/images/run.gif
/usr/share/insight/images/run_expt.gif
/usr/share/insight/images/src.gif
/usr/share/insight/images/stack.gif
/usr/share/insight/images/step.gif
/usr/share/insight/images/stepi.gif
/usr/share/insight/images/stop.gif
/usr/share/insight/images/tdump.gif
/usr/share/insight/images/tp.gif
/usr/share/insight/images/up.gif
/usr/share/insight/images/vars.gif
/usr/share/insight/images/watch.gif
/usr/share/insight/images/watch_movie.gif
/usr/share/insight/images/wp.gif
/usr/share/insight/images2
/usr/share/insight/images2/Movie_off.gif
/usr/share/insight/images2/Movie_on.gif
/usr/share/insight/images2/bottom.gif
/usr/share/insight/images2/bp.gif
/usr/share/insight/images2/check.gif
/usr/share/insight/images2/console.gif
/usr/share/insight/images2/continue.gif
/usr/share/insight/images2/down.gif
/usr/share/insight/images2/edit.gif
/usr/share/insight/images2/finish.gif
/usr/share/insight/images2/function.gif
/usr/share/insight/images2/gdbtk_icon.gif
/usr/share/insight/images2/help.gif
/usr/share/insight/images2/home.gif
/usr/share/insight/images2/icons.txt
/usr/share/insight/images2/insight.gif
/usr/share/insight/images2/less.gif
/usr/share/insight/images2/memory.gif
/usr/share/insight/images2/more.gif
/usr/share/insight/images2/next.gif
/usr/share/insight/images2/next_check.gif
/usr/share/insight/images2/next_frame.gif
/usr/share/insight/images2/next_hit.gif
/usr/share/insight/images2/next_line.gif
/usr/share/insight/images2/nexti.gif
/usr/share/insight/images2/open.gif
/usr/share/insight/images2/prev_hit.gif
/usr/share/insight/images2/reg.gif
/usr/share/insight/images2/rewind.gif
/usr/share/insight/images2/run.gif
/usr/share/insight/images2/run_expt.gif
/usr/share/insight/images2/src.gif
/usr/share/insight/images2/stack.gif
/usr/share/insight/images2/step.gif
/usr/share/insight/images2/stepi.gif
/usr/share/insight/images2/stop.gif
/usr/share/insight/images2/target.gif
/usr/share/insight/images2/tdump.gif
/usr/share/insight/images2/tp.gif
/usr/share/insight/images2/up.gif
/usr/share/insight/images2/vars.gif
/usr/share/insight/images2/watch.gif
/usr/share/insight/images2/watch_movie.gif
/usr/share/insight/images2/wp.gif
/usr/share/insight/interface.tcl
/usr/share/insight/ipc.tcl
/usr/share/insight/ipcpref.itb
/usr/share/insight/ipcpref.ith
/usr/share/insight/kod.itb
/usr/share/insight/kod.ith
/usr/share/insight/locals.tcl
/usr/share/insight/main.tcl
/usr/share/insight/managedwin.itb
/usr/share/insight/managedwin.ith
/usr/share/insight/mempref.itb
/usr/share/insight/mempref.ith
/usr/share/insight/memwin.itb
/usr/share/insight/memwin.ith
/usr/share/insight/modal.tcl
/usr/share/insight/plugins.tcl
/usr/share/insight/pluginwin.itcl
/usr/share/insight/pointwin.itb
/usr/share/insight/pointwin.ith
/usr/share/insight/prefs.tcl
/usr/share/insight/process.itb
/usr/share/insight/process.ith
/usr/share/insight/python
/usr/share/insight/python/gdb
/usr/share/insight/python/gdb/FrameDecorator.py
/usr/share/insight/python/gdb/FrameIterator.py
/usr/share/insight/python/gdb/__init__.py
/usr/share/insight/python/gdb/__pycache__
/usr/share/insight/python/gdb/__pycache__/FrameDecorator.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/__pycache__/FrameDecorator.cpython-39.pyc
/usr/share/insight/python/gdb/__pycache__/FrameIterator.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/__pycache__/FrameIterator.cpython-39.pyc
/usr/share/insight/python/gdb/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/__pycache__/__init__.cpython-39.pyc
/usr/share/insight/python/gdb/__pycache__/frames.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/__pycache__/frames.cpython-39.pyc
/usr/share/insight/python/gdb/__pycache__/printing.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/__pycache__/printing.cpython-39.pyc
/usr/share/insight/python/gdb/__pycache__/prompt.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/__pycache__/prompt.cpython-39.pyc
/usr/share/insight/python/gdb/__pycache__/types.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/__pycache__/types.cpython-39.pyc
/usr/share/insight/python/gdb/__pycache__/unwinder.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/__pycache__/unwinder.cpython-39.pyc
/usr/share/insight/python/gdb/__pycache__/xmethod.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/__pycache__/xmethod.cpython-39.pyc
/usr/share/insight/python/gdb/command
/usr/share/insight/python/gdb/command/__init__.py
/usr/share/insight/python/gdb/command/__pycache__
/usr/share/insight/python/gdb/command/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/command/__pycache__/__init__.cpython-39.pyc
/usr/share/insight/python/gdb/command/__pycache__/explore.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/command/__pycache__/explore.cpython-39.pyc
/usr/share/insight/python/gdb/command/__pycache__/frame_filters.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/command/__pycache__/frame_filters.cpython-39.pyc
/usr/share/insight/python/gdb/command/__pycache__/ignore_errors.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/command/__pycache__/ignore_errors.cpython-39.pyc
/usr/share/insight/python/gdb/command/__pycache__/pretty_printers.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/command/__pycache__/pretty_printers.cpython-39.pyc
/usr/share/insight/python/gdb/command/__pycache__/prompt.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/command/__pycache__/prompt.cpython-39.pyc
/usr/share/insight/python/gdb/command/__pycache__/type_printers.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/command/__pycache__/type_printers.cpython-39.pyc
/usr/share/insight/python/gdb/command/__pycache__/unwinders.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/command/__pycache__/unwinders.cpython-39.pyc
/usr/share/insight/python/gdb/command/__pycache__/xmethods.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/command/__pycache__/xmethods.cpython-39.pyc
/usr/share/insight/python/gdb/command/explore.py
/usr/share/insight/python/gdb/command/frame_filters.py
/usr/share/insight/python/gdb/command/ignore_errors.py
/usr/share/insight/python/gdb/command/pretty_printers.py
/usr/share/insight/python/gdb/command/prompt.py
/usr/share/insight/python/gdb/command/type_printers.py
/usr/share/insight/python/gdb/command/unwinders.py
/usr/share/insight/python/gdb/command/xmethods.py
/usr/share/insight/python/gdb/frames.py
/usr/share/insight/python/gdb/function
/usr/share/insight/python/gdb/function/__init__.py
/usr/share/insight/python/gdb/function/__pycache__
/usr/share/insight/python/gdb/function/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/function/__pycache__/__init__.cpython-39.pyc
/usr/share/insight/python/gdb/function/__pycache__/as_string.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/function/__pycache__/as_string.cpython-39.pyc
/usr/share/insight/python/gdb/function/__pycache__/caller_is.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/function/__pycache__/caller_is.cpython-39.pyc
/usr/share/insight/python/gdb/function/__pycache__/in_scope.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/function/__pycache__/in_scope.cpython-39.pyc
/usr/share/insight/python/gdb/function/__pycache__/strfns.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/function/__pycache__/strfns.cpython-39.pyc
/usr/share/insight/python/gdb/function/as_string.py
/usr/share/insight/python/gdb/function/caller_is.py
/usr/share/insight/python/gdb/function/in_scope.py
/usr/share/insight/python/gdb/function/strfns.py
/usr/share/insight/python/gdb/printer
/usr/share/insight/python/gdb/printer/__init__.py
/usr/share/insight/python/gdb/printer/__pycache__
/usr/share/insight/python/gdb/printer/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/printer/__pycache__/__init__.cpython-39.pyc
/usr/share/insight/python/gdb/printer/__pycache__/bound_registers.cpython-39.opt-1.pyc
/usr/share/insight/python/gdb/printer/__pycache__/bound_registers.cpython-39.pyc
/usr/share/insight/python/gdb/printer/bound_registers.py
/usr/share/insight/python/gdb/printing.py
/usr/share/insight/python/gdb/prompt.py
/usr/share/insight/python/gdb/types.py
/usr/share/insight/python/gdb/unwinder.py
/usr/share/insight/python/gdb/xmethod.py
/usr/share/insight/regwin.itb
/usr/share/insight/regwin.ith
/usr/share/insight/session.tcl
/usr/share/insight/srcbar.itcl
/usr/share/insight/srcpref.itb
/usr/share/insight/srcpref.ith
/usr/share/insight/srctextwin.itb
/usr/share/insight/srctextwin.ith
/usr/share/insight/srcwin.itb
/usr/share/insight/srcwin.ith
/usr/share/insight/stackwin.itb
/usr/share/insight/stackwin.ith
/usr/share/insight/syscalls
/usr/share/insight/syscalls/aarch64-linux.xml
/usr/share/insight/syscalls/amd64-linux.xml
/usr/share/insight/syscalls/arm-linux.xml
/usr/share/insight/syscalls/freebsd.xml
/usr/share/insight/syscalls/gdb-syscalls.dtd
/usr/share/insight/syscalls/i386-linux.xml
/usr/share/insight/syscalls/mips-n32-linux.xml
/usr/share/insight/syscalls/mips-n64-linux.xml
/usr/share/insight/syscalls/mips-o32-linux.xml
/usr/share/insight/syscalls/netbsd.xml
/usr/share/insight/syscalls/ppc-linux.xml
/usr/share/insight/syscalls/ppc64-linux.xml
/usr/share/insight/syscalls/s390-linux.xml
/usr/share/insight/syscalls/s390x-linux.xml
/usr/share/insight/syscalls/sparc-linux.xml
/usr/share/insight/syscalls/sparc64-linux.xml
/usr/share/insight/targetselection.itb
/usr/share/insight/targetselection.ith
/usr/share/insight/tclIndex
/usr/share/insight/tdump.tcl
/usr/share/insight/tfind_args.tcl
/usr/share/insight/toplevelwin.ith
/usr/share/insight/tpwin.itb
/usr/share/insight/tpwin.ith
/usr/share/insight/tracedlg.tcl
/usr/share/insight/tty.tcl
/usr/share/insight/util.tcl
/usr/share/insight/vartree.itb
/usr/share/insight/vartree.ith
/usr/share/insight/warning.tcl
/usr/share/insight/watch.tcl
/usr/share/insight/wpwin.itb
/usr/share/insight/wpwin.ith
/usr/share/man/man1/insight.1.gz
/usr/share/pixmaps/insight.svg

References

Summary

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