help out curious arch users (#3455)

pull/3459/head
k4lizen 7 days ago committed by GitHub
parent 89d307fa54
commit 0daaf1889a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -60,10 +60,13 @@ You may want to install Pwndbg through your distribution's package manager. This
```
Pwndbg will be started every time you invoke `gdb` now.
Note that the Arch package is [quite outdated](https://archlinux.org/packages/extra/any/pwndbg/). Once it gets updated you will not need the `source` line in your `~/.gdbinit` and will be able to run Pwndbg with the `pwndbg` and `pwndbg-lldb` commands. See [packaging Pwndbg](tutorials/packaging.md).
=== "Gentoo"
```{.bash .copy}
sudo emerge --ask dev-debug/pwndbg
```
Pwndbg will now be available with the `pwndbg` and `pwndbg-lldb` commands.
----
@ -119,4 +122,9 @@ xattr -rd com.apple.quarantine pwndbg
Assuming that the files were extracted to a folder called `pwndbg`.
## Installing from source
See [contributing/Installing Pwndbg from source](contributing/setup-pwndbg-dev.md#installing-pwndbg-from-source), you do not need the "The development environment" section.
See [contributing/Installing Pwndbg from source](contributing/setup-pwndbg-dev.md#installing-pwndbg-from-source), you do not need the "The development environment" section. The TLDR is to run the following (but see the aforementioned link for more details):
```{.bash .copy}
git clone https://github.com/pwndbg/pwndbg
cd pwndbg
./setup.sh
```

@ -5,4 +5,4 @@ Previously, packagers were required to create a `.skip-venv` file if they wanted
As of version 2025.10.10, you don't need to worry about those problems anymore. The entrypoints to Pwndbg are the `pwndbg` and `pwndbg-lldb` commands as defined in the `[project.scripts]` section of the `pyproject.toml` file. The `.skip-venv` file is also not necessary as Pwndbg will detect that a virtual environment is not being used at runtime. The method you use to package any python package will just work with Pwndbg without any workarounds.
!!! info
If you're curious, the PR that introduced these changes is [#3199](https://github.com/pwndbg/pwndbg/pull/3119). There is a general packaging thread in #3124. For reference, the Pwndbg package for Gentoo has been updated in this PR: https://github.com/gentoo/gentoo/pull/44181.
If you're curious, the PR that introduced these changes is [#3199](https://github.com/pwndbg/pwndbg/pull/3119). There is a general packaging thread in #3124. For reference, the Pwndbg package for Gentoo has been updated in this PR: https://github.com/gentoo/gentoo/pull/44181 (discussed in #3348).

@ -48,7 +48,8 @@ def main() -> None:
venv_path = get_venv_path(src_root)
if not venv_path.exists():
print(
f"Cannot find Pwndbg virtualenv directory: {venv_path}. Please re-run setup.sh",
f"\nCannot find Pwndbg virtualenv directory: {venv_path}. Please (re-)run setup.sh from the Pwndbg source folder.\n"
"(see https://pwndbg.re/dev/setup/#installing-from-source)",
flush=True,
)
os._exit(1)

Loading…
Cancel
Save