How To Install golang-github-google-martian on Fedora 36

In this tutorial we learn how to install golang-github-google-martian in Fedora 36. golang-github-google-martian is Library for building custom HTTP/S proxies

Introduction

In this tutorial we learn how to install golang-github-google-martian on Fedora 36.

What is golang-github-google-martian

Martian Proxy is a programmable HTTP proxy designed to be used for testing. Martian is a great tool to use if you want to - Verify that all (or some subset) of requests are secure - Mock external services at the network layer - Inject headers, modify cookies or perform other mutations of HTTP requests and responses - Verify that pingbacks happen when you think they should - Unwrap encrypted traffic (requires install of CA certificate in browser) By taking advantage of Go cross-compilation, Martian can be deployed anywhere that Go can target.

We can use yum or dnf to install golang-github-google-martian on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install golang-github-google-martian.

Install golang-github-google-martian 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 golang-github-google-martian using dnf by running the following command:

sudo dnf -y install golang-github-google-martian

Install golang-github-google-martian 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 golang-github-google-martian using yum by running the following command:

sudo yum -y install golang-github-google-martian

How To Uninstall golang-github-google-martian on Fedora 36

To uninstall only the golang-github-google-martian package we can use the following command:

sudo dnf remove golang-github-google-martian

golang-github-google-martian Package Contents on Fedora 36

/usr/bin/marbl
/usr/bin/proxy
/usr/lib/.build-id
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/15d086cc10076713da4e937da47ae19e4e2f47
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/52511cb446779ec2bf9a5b31c69fbf7a6587ab
/usr/share/doc/golang-github-google-martian
/usr/share/doc/golang-github-google-martian/README.md
/usr/share/licenses/golang-github-google-martian
/usr/share/licenses/golang-github-google-martian/LICENSE

References

Summary

In this tutorial we learn how to install golang-github-google-martian on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).