How To Install siege on Fedora 34
Introduction
In this tutorial we learn how to install siege
on Fedora 34.
What is siege
Siege is an HTTP regression testing and benchmarking utility. It was designed to let web developers measure the performance of their code under duress, to see how it will stand up to load on the internet. Siege supports basic authentication, cookies, HTTP and HTTPS protocols. It allows the user hit a web server with a configurable number of concurrent simulated users. Those users place the web-server “under siege.”
We can use yum
or dnf
to install siege
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install siege.
Install siege on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install siege
using dnf
by running the following command:
sudo dnf -y install siege
Install siege on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install siege
using yum
by running the following command:
sudo yum -y install siege
How To Uninstall siege on Fedora 34
To uninstall only the siege
package we can use the following command:
sudo dnf remove siege
siege Package Contents on Fedora 34
/etc/siege
/etc/siege/siegerc
/etc/siege/urls.txt
/usr/bin/bombardment
/usr/bin/siege
/usr/bin/siege.config
/usr/bin/siege2csv.pl
/usr/lib/.build-id
/usr/lib/.build-id/57
/usr/lib/.build-id/57/f98688fbde1a204dc32cd3b211fa574670015a
/usr/share/doc/siege
/usr/share/doc/siege/AUTHORS
/usr/share/doc/siege/ChangeLog
/usr/share/doc/siege/README.md
/usr/share/man/man1/bombardment.1.gz
/usr/share/man/man1/siege.1.gz
/usr/share/man/man1/siege.config.1.gz
/usr/share/man/man1/siege2csv.1.gz
/etc/siege
/etc/siege/siegerc
/etc/siege/urls.txt
/usr/bin/bombardment
/usr/bin/siege
/usr/bin/siege.config
/usr/bin/siege2csv.pl
/usr/lib/.build-id
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/808fb319a127cc3430954ca054e5ee6d9ccf9f
/usr/share/doc/siege
/usr/share/doc/siege/AUTHORS
/usr/share/doc/siege/ChangeLog
/usr/share/doc/siege/README.md
/usr/share/man/man1/bombardment.1.gz
/usr/share/man/man1/siege.1.gz
/usr/share/man/man1/siege.config.1.gz
/usr/share/man/man1/siege2csv.1.gz
References
Summary
In this tutorial we learn how to install siege
on Fedora 34 using yum and dnf.