osandov / drgn

Programmable debugger
Other
1.78k stars 165 forks source link

Further updates to the installation instructions #442

Closed brenns10 closed 1 month ago

brenns10 commented 1 month ago

I saw the pull request about Arch Linux installation and wanted to make a few similar updates:

  1. libkdumpfile is now packaged for Arch too, so we can simplify the install steps for building from source there.
  2. I wanted to include Oracle Linux instructions alongside RHEL and CentOS, especially where they differ.

So I've added steps to install Oracle Linux's officially supported drgn package (no EPEL) as a separate group. Please note that this one does contain the CTF patches downstream -- if you feel strongly about that, I can omit this, or put a warning to let people know that it has vendor modifications.

I also added steps to the documentation about getting debuginfo. I didn't want to take up a ton of space, but OL does have official documentation that covers how to get kernel debuginfo, so I thought we could at least link directly to it.

Also, for building from source, we got some compiler errors on Oracle Linux 7 (and I'm pretty confident they'd be there on RHEL/CentOS 7 too) that are resolved by using a newer compiler version. So I updated that as well.