sudo pacman -S gdb
sudo pacman -S pwndbg
echo 'source /usr/share/pwndbg/gdbinit.py' >> ~/.gdbinit
If you are getting the following error "Cannot find Pwndbg virtualenv directory: /usr/share/pwndbg/.venv: please re-run setup.sh", do the following steps, otherwise ignore:
Creating the venv:
python -m venv /usr/share/pwndbg/.venv
Activating the venv:
source /usr/share/pwndbg/.venv/bin/activate
Install the missing packages:
pip install pwndbg pwnlib pyelftools psutil typing_extensions pwntools tabulate
Hey @LeoUschi232 , thank you for the report. I was unaware of this issue.
It refers to a bug opened over at archlinux: https://bugs.archlinux.org/task/79822
I tried out some of the suggested solutions but they did not work.
The bug there was closed with a comment to the archlinux gitlab: https://gitlab.archlinux.org/archlinux/packaging/packages/pwndbg/issues/1
Unfortunately, I have no access there, so I cannot see what the suggested solution is.
If someone will find it out, I will update the gist :)