经过几天的查找,终于解决了依赖性的问题问题原因:ubuntu换源版本不对
    查找ubuntu版本为2.0.0.4后更换了阿里云的源
    下载成功,之后进入配置gedit ~/.gdbinit
    输入
    #source ~/文档/peda/peda.py
    source ~/文档/pwndbg/gdbinit.py
    source ~/文档/Pwngdb/pwngdb.py
    source ~/文档/Pwngdb/angelheap/gdbinit.py

    define hook-run
    python
    import angelheap
    angelheap.init_angelheap()
    end
    第一行为连接peda的地址,因为peda和pwndbg存在冲突,故先用#屏蔽到,需要使用peda的时候再进行修改
    第二行为连接pwndbg如果没有屏蔽peda,打开gdb之后就会提示命令符无法重新命名
    第三行第四行为连接pwngdb,参考的这篇文章顺便把pwngdb也安装了下来:https://blog.csdn.net/whbing1471/article/details/112410599
    下面的代码为调用python函数配置angelheap类