r/hacking • • 5d ago

Httpx

I’m running arch but I installed the correct httpx via yay and I also have go installed, but whenever I try to run httpx it gives me command not found. I’m so confused, what else am I missing?
Yes I already know it’s the correct httpx not the python one

3 Upvotes

8 comments sorted by

4

u/overratedsaucer2 5d ago

path issue, your shell probably can't see the binary even though the package manager says it's there

1

u/Aggressive_Bowler184 5d ago

Your correct!
I just fixed it via adding this line to my ~/.bashrc
Export PATH=$PATH:$(go env GOPATH)/bin

Thanks

2

u/N_T_F_D hardware 5d ago

Close your shell and open a new one, or do hash -r

If it's still broken then check where it got installed and make sure the directory is in your PATH variable

2

u/Aggressive_Bowler184 4d ago

It was a pathing issue, thanks I fixed it

1

u/ConfidentSomewhere14 4d ago

which httpx <<< run that command. then use the full path and check the --help ... make sure it's the httpx you expect.

1

u/reddit_god 3d ago

Which only checks the path, and the error described indirectly says it's not in the path. Does anyone in this sub understand basic computer usage at all?

0

u/reddit_god 3d ago edited 3d ago

This is tech support for stupid illiterate children, not hacking. It's literally just a path error that would apply to any package someone blindly installs.