These are just some brief notes on getting up and running with drgn on RHEL7:

[root@rhel7 ~]# cat <<EOF > /etc/yum.repos.d/devtools.repo
# repos
[rhel7-devtools]
name=rhel7-devtools
baseurl=http://download.eng.bos.redhat.com/composes/released/DevTools/1.0/RHEL-7/Server/x86_64/os/
gpgcheck=0

[rhel7-rhscl]
name=rhel7-rhscl
baseurl=http://download.eng.bos.redhat.com/composes/released/RHSCL/3.2/RHEL-7/Server/x86_64/os/
gpgcheck=0
EOF

[root@rhel7 ~]# yum install -y devtoolset-8
...
[root@rhel7 ~]# cd /usr/local/src/
[root@rhel7 src]# git clone https://github.com/osandov/drgn.git
[root@rhel7 ~]# cd /usr/local/src/drgn
[root@rhel7 src]# git clone https://github.com/osandov/drgn.git
[root@rhel7 drgn]# scl enable devtoolset-8 bash
[root@rhel7 drgn]# python3 setup.py build
[root@rhel7 drgn]# python3 setup.py install
[root@rhel7 drgn]# exit # devtoolset-8 scl bash