How To Install Ab On Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian?
Maintainer: Debian Apache Maintainers
Email: [email protected] .
Website: https://httpd.apache.org/
Section: httpd
Install ab
-
Debian
apt-get install apache2-utilsClick to copy -
Ubuntu
apt-get install apache2-utilsClick to copy -
Alpine OS
apk add apache2-utilsClick to copy -
Arch Linux
pacman -S apacheClick to copy -
Kali Linux
apt-get install apache2-utilsClick to copy -
CentOS
yum install httpd-toolsClick to copy -
Fedora
dnf install httpd-toolsClick to copy -
Raspbian
apt-get install apache2-utilsClick to copy
Apache Benchmarking tool. The simplest tool to perform a load testing.
How to use ab?
Below are few example commands for ab that you can use in the terminal.
Execute 100 HTTP GET requests to given URL:ab -n 100 urlClick to copyExecute 100 HTTP GET requests, processing up to 10 requests concurrently, to given URL:ab -n 100 -c 10 urlClick to copyUse keep alive:ab -k urlClick to copySet the maximum number of seconds to spend for benchmarking:ab -t 60 urlClick to copy
Installation of latest ab command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.




