Skip to content

Latest commit

 

History

History
69 lines (47 loc) · 1.72 KB

installation.rst

File metadata and controls

69 lines (47 loc) · 1.72 KB

Installation

There are several options for installing drgn.

Dependencies

drgn depends on:

It optionally depends on:

The build requires:

Running tests requires:

Building from the Git repository (rather than a release tarball) additionally requires:

Virtual Environment

The above options all install drgn globally. You can also install drgn in a virtual environment, either with pip:

$ python3 -m venv drgnenv
$ source drgnenv/bin/activate
(drgnenv) $ pip3 install drgn
(drgnenv) $ drgn --help

Or from source:

$ python3 -m venv drgnenv
$ source drgnenv/bin/activate
(drgnenv) $ python3 setup.py install
(drgnenv) $ drgn --help

Running Locally

If you build drgn from source, you can also run it without installing it:

$ python3 setup.py build_ext -i
$ python3 -m drgn --help