How To Install golang-github-mailru-easyjson-devel on Fedora 36

In this tutorial we learn how to install golang-github-mailru-easyjson-devel in Fedora 36. golang-github-mailru-easyjson-devel is Fast JSON serializer for Go

Introduction

In this tutorial we learn how to install golang-github-mailru-easyjson-devel on Fedora 36.

What is golang-github-mailru-easyjson-devel

Package Easyjson provides a fast and easy way to marshal/unmarshal Go structs to/from JSON without the use of reflection. In performance tests, easyjson outperforms the standard encoding/json package by a factor of 4-5x, and other JSON encoding packages by a factor of 2-3x. Easyjson aims to keep generated Go code simple enough so that it can be easily optimized or fixed. Another goal is to provide users with the ability to customize the generated code by providing options not available with the standard encoding/json package, such as generating “snake_case” names or enabling omitempty behavior by default. This package contains the source code needed for building packages that reference the following Go import paths – github.com/mailru/easyjson

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

Install golang-github-mailru-easyjson-devel 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-mailru-easyjson-devel using dnf by running the following command:

sudo dnf -y install golang-github-mailru-easyjson-devel

Install golang-github-mailru-easyjson-devel 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-mailru-easyjson-devel using yum by running the following command:

sudo yum -y install golang-github-mailru-easyjson-devel

How To Uninstall golang-github-mailru-easyjson-devel on Fedora 36

To uninstall only the golang-github-mailru-easyjson-devel package we can use the following command:

sudo dnf remove golang-github-mailru-easyjson-devel

golang-github-mailru-easyjson-devel Package Contents on Fedora 36

/usr/share/doc/golang-github-mailru-easyjson-devel
/usr/share/doc/golang-github-mailru-easyjson-devel/README.md
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/mailru
/usr/share/gocode/src/github.com/mailru/easyjson
/usr/share/gocode/src/github.com/mailru/easyjson/.goipath
/usr/share/gocode/src/github.com/mailru/easyjson/README.md
/usr/share/gocode/src/github.com/mailru/easyjson/benchmark
/usr/share/gocode/src/github.com/mailru/easyjson/benchmark/codec_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/benchmark/data.go
/usr/share/gocode/src/github.com/mailru/easyjson/benchmark/data_codec.go
/usr/share/gocode/src/github.com/mailru/easyjson/benchmark/data_ffjson.go
/usr/share/gocode/src/github.com/mailru/easyjson/benchmark/data_var.go
/usr/share/gocode/src/github.com/mailru/easyjson/benchmark/default_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/benchmark/dummy_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/benchmark/easyjson_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/benchmark/ffjson_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/benchmark/jsoniter_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/benchmark/tools.go
/usr/share/gocode/src/github.com/mailru/easyjson/bootstrap
/usr/share/gocode/src/github.com/mailru/easyjson/bootstrap/bootstrap.go
/usr/share/gocode/src/github.com/mailru/easyjson/buffer
/usr/share/gocode/src/github.com/mailru/easyjson/buffer/pool.go
/usr/share/gocode/src/github.com/mailru/easyjson/buffer/pool_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/easyjson
/usr/share/gocode/src/github.com/mailru/easyjson/easyjson/main.go
/usr/share/gocode/src/github.com/mailru/easyjson/gen
/usr/share/gocode/src/github.com/mailru/easyjson/gen/decoder.go
/usr/share/gocode/src/github.com/mailru/easyjson/gen/encoder.go
/usr/share/gocode/src/github.com/mailru/easyjson/gen/generator.go
/usr/share/gocode/src/github.com/mailru/easyjson/gen/generator_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/go.mod
/usr/share/gocode/src/github.com/mailru/easyjson/helpers.go
/usr/share/gocode/src/github.com/mailru/easyjson/helpers_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/jlexer
/usr/share/gocode/src/github.com/mailru/easyjson/jlexer/bytestostr.go
/usr/share/gocode/src/github.com/mailru/easyjson/jlexer/bytestostr_nounsafe.go
/usr/share/gocode/src/github.com/mailru/easyjson/jlexer/error.go
/usr/share/gocode/src/github.com/mailru/easyjson/jlexer/lexer.go
/usr/share/gocode/src/github.com/mailru/easyjson/jlexer/lexer_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/jwriter
/usr/share/gocode/src/github.com/mailru/easyjson/jwriter/writer.go
/usr/share/gocode/src/github.com/mailru/easyjson/opt
/usr/share/gocode/src/github.com/mailru/easyjson/opt/gotemplate_Bool.go
/usr/share/gocode/src/github.com/mailru/easyjson/opt/gotemplate_Float32.go
/usr/share/gocode/src/github.com/mailru/easyjson/opt/gotemplate_Float64.go
/usr/share/gocode/src/github.com/mailru/easyjson/opt/gotemplate_Int.go
/usr/share/gocode/src/github.com/mailru/easyjson/opt/gotemplate_Int16.go
/usr/share/gocode/src/github.com/mailru/easyjson/opt/gotemplate_Int32.go
/usr/share/gocode/src/github.com/mailru/easyjson/opt/gotemplate_Int64.go
/usr/share/gocode/src/github.com/mailru/easyjson/opt/gotemplate_Int8.go
/usr/share/gocode/src/github.com/mailru/easyjson/opt/gotemplate_String.go
/usr/share/gocode/src/github.com/mailru/easyjson/opt/gotemplate_Uint.go
/usr/share/gocode/src/github.com/mailru/easyjson/opt/gotemplate_Uint16.go
/usr/share/gocode/src/github.com/mailru/easyjson/opt/gotemplate_Uint32.go
/usr/share/gocode/src/github.com/mailru/easyjson/opt/gotemplate_Uint64.go
/usr/share/gocode/src/github.com/mailru/easyjson/opt/gotemplate_Uint8.go
/usr/share/gocode/src/github.com/mailru/easyjson/opt/opts.go
/usr/share/gocode/src/github.com/mailru/easyjson/parser
/usr/share/gocode/src/github.com/mailru/easyjson/parser/modulepath.go
/usr/share/gocode/src/github.com/mailru/easyjson/parser/parser.go
/usr/share/gocode/src/github.com/mailru/easyjson/parser/pkgpath.go
/usr/share/gocode/src/github.com/mailru/easyjson/parser/pkgpath_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/raw.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests
/usr/share/gocode/src/github.com/mailru/easyjson/tests/basic_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/custom_map_key_type.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/data.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/disallow_unknown.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/embedded_type.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/errors.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/errors_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/escaping.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/escaping_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/html.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/html_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/intern.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/intern_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/key_marshaler_map.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/members_escaped.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/members_escaping_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/members_unescaped.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/named_type.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/nested_easy.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/nested_marshaler.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/nocopy.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/nocopy_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/nothing.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/omitempty.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/opt_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/reference_to_pointer.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/required_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/snake.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/type_declaration.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/type_declaration_skip.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/unknown_fields.go
/usr/share/gocode/src/github.com/mailru/easyjson/tests/unknown_fields_test.go
/usr/share/gocode/src/github.com/mailru/easyjson/unknown_fields.go
/usr/share/licenses/golang-github-mailru-easyjson-devel
/usr/share/licenses/golang-github-mailru-easyjson-devel/LICENSE

References

Summary

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