2

How do I install the GNU Debugger (gdb) on Arch Linux? I've checked that I don't already have gdb installed by running this command:

gdb -help

I've tried this:

sudo apt-get install gdb

but it's not working.

1
  • 3
    -1 because the question doesn't show research effort.
    – dotVezz
    Mar 12, 2014 at 17:56

1 Answer 1

6

Arch Linux uses different package management. Use the below command format.

pacman -S package_name1 package_name2

Or run man pacman to learn more about pacman.

Reference: https://wiki.archlinux.org/index.php/pacman

1
  • 1
    and which package is gdb?
    – endolith
    Oct 19, 2022 at 17:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .