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.

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.