Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrk is not available in apt/binary #436

Closed
dalisoft opened this issue Jul 21, 2020 · 5 comments
Closed

wrk is not available in apt/binary #436

dalisoft opened this issue Jul 21, 2020 · 5 comments

Comments

@dalisoft
Copy link

Hi everyone.

I use wrk sometime and want install on PopOS and Ubuntu, but it's not available in both OS.

Is there any repo i should add to get wrk?

Thanks

@dalisoft
Copy link
Author

But i made own fork to make artifacts in GitHub actions and later i myself attach artifacts to releases for easy-to-use.

You can see latest releases from here

@dalisoft dalisoft changed the title wrk is not available in apt wrk is not available in apt/binary Jul 25, 2020
@azappella
Copy link

azappella commented Aug 24, 2020

Hi everyone.

I use wrk sometime and want install on PopOS and Ubuntu, but it's not available in both OS.

Is there any repo i should add to get wrk?

Thanks

Check this out: https://ubuntu.pkgs.org/16.04/ubuntu-universe-amd64/wrk_4.0.1-2_amd64.deb.html

@dalisoft
Copy link
Author

Hi everyone.
I use wrk sometime and want install on PopOS and Ubuntu, but it's not available in both OS.
Is there any repo i should add to get wrk?
Thanks

Check this out: https://ubuntu.pkgs.org/16.04/ubuntu-universe-amd64/wrk_4.0.1-2_amd64.deb.html

Thanks

@dalisoft
Copy link
Author

dalisoft commented Sep 5, 2020

Finally, Ubuntu team added wrk to their repos, but only available for Ubuntu 20.10+.

You can use with these commands

  • sudo add-apt-repository --yes "deb http://archive.ubuntu.com/ubuntu groovy universe"
  • sudo apt update
  • sudo apt install wrk

This command worked for me, hope this helps you

This way may break your Linux (Debian-based) OS, be careful, this command is provided without any warranty and may be risky

@dalisoft dalisoft closed this as completed Sep 5, 2020
@nikhilweee
Copy link

nikhilweee commented Dec 10, 2020

I figured that wrk was a part of the default repositories in Ubuntu 16.04 [link], but it's no longer available on Ubuntu 18.04. So I downloaded the old deb manually, and installed using dpkg. It goes without saying, use this at your own risk.

# Download the wrk binary from Ubuntu archives
$ wget http://archive.ubuntu.com/ubuntu/pool/universe/w/wrk/wrk_4.0.1-2_amd64.deb
# Install using dpkg
$ sudo dpkg -i wrk_4.0.1-2_amd64.deb
# At this point, dpkg might complain about missing dependencies. So you use the following.
$ sudo apt install -f

UPDATE: Unfortunately I ran into #298. I think building from source is the only way to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants