skip to Main Content

In the RPM world, debug symbols and the source code for a package are packaged in RPMs with names ending in debuginfo and debugsource respectively. These can be downloaded using the dnf debuginfo-install command.

In what kind of package will the symbols and the source code be found on a Debian derived system?

Where are these debug packages hosted if not in the main package archives, and what command is used to download and install them if not "apt install"?

2

Answers


  1. There is no systematic distribution of debug symbols. If you want them, typically you would download the package sources with apt-get source and examine the build scripts to figure out how to get a locally built version with debug symbols etc.

    Login or Signup to reply.
  2. While I don’t think an equivalent to debugsource exists in Debian,
    dbgsym packages provide debugging symbols.
    Take a look at https://wiki.debian.org/AutomaticDebugPackages for more information.

    TLDR: add something like

    deb http://deb.debian.org/debian-debug/ testing-debug main
    deb http://deb.debian.org/debian-debug/ testing-proposed-updates-debug main
    

    to your /etc/apt/sources.list (replacing “testing” with whatever version you are following)

    run apt update to fetch those new package lists.
    And install the wanted debugging symbols via something like

    apt install libqt5qml5-dbgsym
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search