How To Install kdbg on Fedora 34
Introduction
In this tutorial we learn how to install kdbg
on Fedora 34.
What is kdbg
KDbg is a K Desktop Environment (KDE) GUI for gdb, the GNU debugger. KDbg provides the programmer with an intuitive interface for setting breakpoints, inspecting variables, and stepping through code. KDbg requires X and KDE to be installed in order to run.
We can use yum
or dnf
to install kdbg
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install kdbg.
Install kdbg 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 kdbg
using dnf
by running the following command:
sudo dnf -y install kdbg
Install kdbg 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 kdbg
using yum
by running the following command:
sudo yum -y install kdbg
How To Uninstall kdbg on Fedora 34
To uninstall only the kdbg
package we can use the following command:
sudo dnf remove kdbg
kdbg Package Contents on Fedora 34
/etc/xdg/kdbgrc
/usr/bin/kdbg
/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/57f5ff4b30e7f775495f4ea9878dbdf6d697ca
/usr/share/applications/kdbg.desktop
/usr/share/doc/HTML/de/kdbg
/usr/share/doc/HTML/de/kdbg/argspwdenv.html
/usr/share/doc/HTML/de/kdbg/breakptlist.html
/usr/share/doc/HTML/de/kdbg/globaloptions.html
/usr/share/doc/HTML/de/kdbg/howdoi.html
/usr/share/doc/HTML/de/kdbg/index.html
/usr/share/doc/HTML/de/kdbg/localvars.html
/usr/share/doc/HTML/de/kdbg/memory.html
/usr/share/doc/HTML/de/kdbg/pgmoutput.html
/usr/share/doc/HTML/de/kdbg/pgmsettings.html
/usr/share/doc/HTML/de/kdbg/registers.html
/usr/share/doc/HTML/de/kdbg/sourcecode.html
/usr/share/doc/HTML/de/kdbg/stack.html
/usr/share/doc/HTML/de/kdbg/threads.html
/usr/share/doc/HTML/de/kdbg/tips.html
/usr/share/doc/HTML/de/kdbg/watches.html
/usr/share/doc/HTML/en/kdbg
/usr/share/doc/HTML/en/kdbg/argspwdenv.html
/usr/share/doc/HTML/en/kdbg/breakptlist.html
/usr/share/doc/HTML/en/kdbg/globaloptions.html
/usr/share/doc/HTML/en/kdbg/howdoi.html
/usr/share/doc/HTML/en/kdbg/index.html
/usr/share/doc/HTML/en/kdbg/invocation.html
/usr/share/doc/HTML/en/kdbg/localvars.html
/usr/share/doc/HTML/en/kdbg/memory.html
/usr/share/doc/HTML/en/kdbg/pgmoutput.html
/usr/share/doc/HTML/en/kdbg/pgmsettings.html
/usr/share/doc/HTML/en/kdbg/registers.html
/usr/share/doc/HTML/en/kdbg/sourcecode.html
/usr/share/doc/HTML/en/kdbg/stack.html
/usr/share/doc/HTML/en/kdbg/threads.html
/usr/share/doc/HTML/en/kdbg/tips.html
/usr/share/doc/HTML/en/kdbg/types.html
/usr/share/doc/HTML/en/kdbg/watches.html
/usr/share/doc/HTML/en/kdbg/xslt.html
/usr/share/doc/HTML/ru/kdbg
/usr/share/doc/HTML/ru/kdbg/argspwdenv.html
/usr/share/doc/HTML/ru/kdbg/breakptlist.html
/usr/share/doc/HTML/ru/kdbg/globaloptions.html
/usr/share/doc/HTML/ru/kdbg/howdoi.html
/usr/share/doc/HTML/ru/kdbg/index.html
/usr/share/doc/HTML/ru/kdbg/localvars.html
/usr/share/doc/HTML/ru/kdbg/memory.html
/usr/share/doc/HTML/ru/kdbg/pgmoutput.html
/usr/share/doc/HTML/ru/kdbg/pgmsettings.html
/usr/share/doc/HTML/ru/kdbg/registers.html
/usr/share/doc/HTML/ru/kdbg/sourcecode.html
/usr/share/doc/HTML/ru/kdbg/stack.html
/usr/share/doc/HTML/ru/kdbg/threads.html
/usr/share/doc/HTML/ru/kdbg/tips.html
/usr/share/doc/HTML/ru/kdbg/watches.html
/usr/share/doc/kdbg
/usr/share/doc/kdbg/BUGS
/usr/share/doc/kdbg/COPYING
/usr/share/doc/kdbg/ChangeLog-pre-2.2.0
/usr/share/doc/kdbg/README
/usr/share/doc/kdbg/ReleaseNotes-2.2.0
/usr/share/doc/kdbg/ReleaseNotes-2.2.1
/usr/share/doc/kdbg/ReleaseNotes-2.2.2
/usr/share/doc/kdbg/ReleaseNotes-2.5.0
/usr/share/doc/kdbg/ReleaseNotes-2.5.1
/usr/share/doc/kdbg/ReleaseNotes-2.5.2
/usr/share/doc/kdbg/ReleaseNotes-2.5.3
/usr/share/doc/kdbg/ReleaseNotes-2.5.4
/usr/share/doc/kdbg/ReleaseNotes-2.5.5
/usr/share/doc/kdbg/ReleaseNotes-2.5.6
/usr/share/doc/kdbg/ReleaseNotes-2.9.0
/usr/share/doc/kdbg/ReleaseNotes-2.9.1
/usr/share/doc/kdbg/ReleaseNotes-3.0.0
/usr/share/doc/kdbg/TODO
/usr/share/icons/hicolor/128x128/apps/kdbg.png
/usr/share/icons/hicolor/16x16/apps/kdbg.png
/usr/share/icons/hicolor/32x32/apps/kdbg.png
/usr/share/icons/hicolor/48x48/apps/kdbg.png
/usr/share/icons/hicolor/64x64/apps/kdbg.png
/usr/share/icons/hicolor/scalable/apps/kdbg.svgz
/usr/share/kde4/apps/kdbg
/usr/share/kde4/apps/kdbg/icons
/usr/share/kde4/apps/kdbg/icons/hicolor
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse.mng
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000000.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000001.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000002.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000003.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000004.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000005.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000006.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000007.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000008.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000009.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000010.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000011.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000012.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000013.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000014.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000015.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000016.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000017.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000018.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000019.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000020.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000021.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000022.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000023.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000024.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000025.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000026.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000027.png
/usr/share/kde4/apps/kdbg/icons/hicolor/22x22/actions/pulse000028.png
/usr/share/kde4/apps/kdbg/icons/oxygen
/usr/share/kde4/apps/kdbg/icons/oxygen/16x16
/usr/share/kde4/apps/kdbg/icons/oxygen/16x16/actions
/usr/share/kde4/apps/kdbg/icons/oxygen/16x16/actions/brkpt.png
/usr/share/kde4/apps/kdbg/icons/oxygen/16x16/actions/debug-run.png
/usr/share/kde4/apps/kdbg/icons/oxygen/16x16/actions/document-open-executable.png
/usr/share/kde4/apps/kdbg/icons/oxygen/22x22
/usr/share/kde4/apps/kdbg/icons/oxygen/22x22/actions
/usr/share/kde4/apps/kdbg/icons/oxygen/22x22/actions/brkpt.png
/usr/share/kde4/apps/kdbg/icons/oxygen/22x22/actions/debug-run.png
/usr/share/kde4/apps/kdbg/icons/oxygen/22x22/actions/document-open-executable.png
/usr/share/kde4/apps/kdbg/icons/oxygen/32x32
/usr/share/kde4/apps/kdbg/icons/oxygen/32x32/actions
/usr/share/kde4/apps/kdbg/icons/oxygen/32x32/actions/brkpt.png
/usr/share/kde4/apps/kdbg/icons/oxygen/32x32/actions/debug-run.png
/usr/share/kde4/apps/kdbg/icons/oxygen/32x32/actions/document-open-executable.png
/usr/share/kde4/apps/kdbg/icons/oxygen/48x48
/usr/share/kde4/apps/kdbg/icons/oxygen/48x48/actions
/usr/share/kde4/apps/kdbg/icons/oxygen/48x48/actions/brkpt.png
/usr/share/kde4/apps/kdbg/icons/oxygen/48x48/actions/debug-run.png
/usr/share/kde4/apps/kdbg/icons/oxygen/48x48/actions/document-open-executable.png
/usr/share/kde4/apps/kdbg/icons/oxygen/scalable
/usr/share/kde4/apps/kdbg/icons/oxygen/scalable/actions
/usr/share/kde4/apps/kdbg/icons/oxygen/scalable/actions/brkpt.svgz
/usr/share/kde4/apps/kdbg/icons/oxygen/scalable/actions/debug-run.svgz
/usr/share/kde4/apps/kdbg/icons/oxygen/scalable/actions/document-open-executable.svgz
/usr/share/kde4/apps/kdbg/pics
/usr/share/kde4/apps/kdbg/pics/brkcond.png
/usr/share/kde4/apps/kdbg/pics/brkdis.png
/usr/share/kde4/apps/kdbg/pics/brkena.png
/usr/share/kde4/apps/kdbg/pics/brkorph.png
/usr/share/kde4/apps/kdbg/pics/brktmp.png
/usr/share/kde4/apps/kdbg/pics/pcinner.png
/usr/share/kde4/apps/kdbg/pics/pcup.png
/usr/share/kde4/apps/kdbg/pics/pointer.xpm
/usr/share/kde4/apps/kdbg/pics/watchdis.png
/usr/share/kde4/apps/kdbg/pics/watchena.png
/usr/share/kde4/apps/kdbg/types
/usr/share/kde4/apps/kdbg/types/X11.kdbgtt
/usr/share/kde4/apps/kdbg/types/glib.kdbgtt
/usr/share/kde4/apps/kdbg/types/gtk+.kdbgtt
/usr/share/kde4/apps/kdbg/types/kdecore.kdbgtt
/usr/share/kde4/apps/kdbg/types/kdecore3.kdbgtt
/usr/share/kde4/apps/kdbg/types/qt.kdbgtt
/usr/share/kde4/apps/kdbg/types/qt2.kdbgtt
/usr/share/kde4/apps/kdbg/types/qt3.kdbgtt
/usr/share/kde4/apps/kdbg/types/qt4core.kdbgtt
/usr/share/kde4/apps/kdbg/types/qt5core.kdbgtt
/usr/share/kde4/apps/kdbg/types/stdc++.kdbgtt
/usr/share/kde4/apps/kdbg/types/stdc++6.kdbgtt
/usr/share/kxmlgui5/kdbg
/usr/share/kxmlgui5/kdbg/kdbgui.rc
/usr/share/locale/cs/LC_MESSAGES/kdbg.mo
/usr/share/locale/da/LC_MESSAGES/kdbg.mo
/usr/share/locale/de/LC_MESSAGES/kdbg.mo
/usr/share/locale/es/LC_MESSAGES/kdbg.mo
/usr/share/locale/fr/LC_MESSAGES/kdbg.mo
/usr/share/locale/hr/LC_MESSAGES/kdbg.mo
/usr/share/locale/hu/LC_MESSAGES/kdbg.mo
/usr/share/locale/it/LC_MESSAGES/kdbg.mo
/usr/share/locale/ja/LC_MESSAGES/kdbg.mo
/usr/share/locale/nb/LC_MESSAGES/kdbg.mo
/usr/share/locale/nn/LC_MESSAGES/kdbg.mo
/usr/share/locale/pl/LC_MESSAGES/kdbg.mo
/usr/share/locale/pt/LC_MESSAGES/kdbg.mo
/usr/share/locale/ro/LC_MESSAGES/kdbg.mo
/usr/share/locale/ru/LC_MESSAGES/kdbg.mo
/usr/share/locale/sk/LC_MESSAGES/kdbg.mo
/usr/share/locale/sr/LC_MESSAGES/kdbg.mo
/usr/share/locale/sv/LC_MESSAGES/kdbg.mo
/usr/share/locale/tr/LC_MESSAGES/kdbg.mo
/usr/share/locale/zh_CN/LC_MESSAGES/kdbg.mo
References
Summary
In this tutorial we learn how to install kdbg
on Fedora 34 using yum and dnf.