Installation ============ .. highlight:: console drgn depends on: - `Python `_ 3.6 or newer - `zlib `_ - `xz `_ - `bzip2 `_ A version of `elfutils `_ is bundled with drgn. The build requires: - `GCC `_ - `GNU Make `_ - `pkgconf `_ - `setuptools `_ - `autoconf `_ - `automake `_ - `libtool `_ - `flex `_ - `GNU bison `_ - `GNU awk `_ .. include:: ../README.rst :start-after: start-install-dependencies :end-before: end-install-dependencies Then, drgn can be built and installed:: $ python3 setup.py build $ sudo python3 setup.py install $ drgn --help Or, it can be be built and run locally:: $ python3 setup.py build_ext -i $ python3 -m drgn --help libkdumpfile ------------ drgn supports kdump-compressed kernel core dumps when `libkdumpfile `_ is available. libkdumpfile is not packaged for most Linux distributions, so it must be built and installed manually. If it is installed, then drgn is automatically built with support.