How To Install toxiproxy on Fedora 36
Introduction
In this tutorial we learn how to install toxiproxy
on Fedora 36.
What is toxiproxy
Toxiproxy is a framework for simulating network conditions. It’s made specifically to work in testing, CI and development environments, supporting deterministic tampering with connections, but with support for randomized chaos and customization. Toxiproxy is the tool you need to prove with tests that your application doesn’t have single points of failure. Toxiproxy usage consists of two parts. A TCP proxy written in Go (what this repository contains) and a client communicating with the proxy over HTTP. You configure your application to make all test connections go through Toxiproxy and can then manipulate their health via HTTP. See Usage below on how to set up your project.
We can use yum
or dnf
to install toxiproxy
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install toxiproxy.
Install toxiproxy on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install toxiproxy
using dnf
by running the following command:
sudo dnf -y install toxiproxy
Install toxiproxy on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install toxiproxy
using yum
by running the following command:
sudo yum -y install toxiproxy
How To Uninstall toxiproxy on Fedora 36
To uninstall only the toxiproxy
package we can use the following command:
sudo dnf remove toxiproxy
toxiproxy Package Contents on Fedora 36
/etc/default/toxiproxy
/etc/logrotate.d/toxiproxy
/usr/bin/toxiproxy-cli
/usr/bin/toxiproxy-server
/usr/lib/.build-id
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/d85162f0357c80a7e138c93dc0a53bb6c63b6c
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/e62a9cad6e8aea48f793689c42488b9432d612
/usr/lib/systemd/system/toxiproxy.service
/usr/share/doc/toxiproxy
/usr/share/doc/toxiproxy/CHANGELOG.md
/usr/share/doc/toxiproxy/CREATING_TOXICS.md
/usr/share/doc/toxiproxy/README-client.md
/usr/share/doc/toxiproxy/README.md
/usr/share/licenses/toxiproxy
/usr/share/licenses/toxiproxy/LICENSE
/usr/share/man/man1/toxiproxy-cli.1.gz
/usr/share/man/man1/toxiproxy-server.1.gz
/var/lib/toxiproxy
/var/log/toxiproxy
References
Summary
In this tutorial we learn how to install toxiproxy
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).