How To Install radare2 on Fedora 36

In this tutorial we learn how to install radare2 in Fedora 36. radare2 is The reverse engineering framework

Introduction

In this tutorial we learn how to install radare2 on Fedora 36.

What is radare2

The radare2 is a reverse-engineering framework that is multi-architecture, multi-platform, and highly scriptable. Radare2 provides a hexadecimal editor, wrapped I/O, file system support, debugger support, diffing between two functions or binaries, and code analysis at opcode, basic block, and function levels.

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

Install radare2 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 radare2 using dnf by running the following command:

sudo dnf -y install radare2

Install radare2 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 radare2 using yum by running the following command:

sudo yum -y install radare2

How To Uninstall radare2 on Fedora 36

To uninstall only the radare2 package we can use the following command:

sudo dnf remove radare2

radare2 Package Contents on Fedora 36

/usr/bin/r2
/usr/bin/r2agent
/usr/bin/r2pm
/usr/bin/r2pm.sh
/usr/bin/rabin2
/usr/bin/radare2
/usr/bin/radiff2
/usr/bin/rafind2
/usr/bin/ragg2
/usr/bin/rahash2
/usr/bin/rarun2
/usr/bin/rasign2
/usr/bin/rasm2
/usr/bin/ravc2
/usr/bin/rax2
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/e31556aa05c980cb0b3d3e069beea0854420c0
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/58e02eae1f27ee4e4b8dbcf46d45e0e6c80fe0
/usr/lib/.build-id/1a
/usr/lib/.build-id/1a/d17a542f308b60b9b93ff03903fe630f416928
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/6134f6c36d8875e87acbe426331a3799823bc3
/usr/lib/.build-id/29
/usr/lib/.build-id/29/61061a40f92aef7e5ae7f258102761f3667936
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/3d03c3daf4cceb5e85bcf31300f8277ce9c988
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/68f43d6f1eb96e12676ee8189f1edde78f2f23
/usr/lib/.build-id/31
/usr/lib/.build-id/31/6a51b500826b782d797bf6b37d3d881aadefcc
/usr/lib/.build-id/36
/usr/lib/.build-id/36/6ead69b0ce0db29aed437db7ec3b5540ff89fa
/usr/lib/.build-id/37
/usr/lib/.build-id/37/d5bc026389d2c9f5d7a21cf7dbeb1c36daf343
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/cd4d09e0b777b2c06a57902cb1c087e6068fba
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/4cf4d5b8844136012ff731233f1345c093ee05
/usr/lib/.build-id/45
/usr/lib/.build-id/45/7d59f9e1e2665cf9997087a0613ed004ec12b3
/usr/lib/.build-id/47
/usr/lib/.build-id/47/759525df35445ecddd5164ed7f7fef7c581fac
/usr/lib/.build-id/49
/usr/lib/.build-id/49/f5efabd2228568d00ef576437008ea76e4732e
/usr/lib/.build-id/58
/usr/lib/.build-id/58/d4dedfeebe1e2e60b399d8ef7d3b0533c053d5
/usr/lib/.build-id/59
/usr/lib/.build-id/59/c8b0a44b912cd679f8d5d7e00b9ff8a0337530
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/da3d49c01f4dd69c27991e92b7feaa19ebf741
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/0817bff7ac005f0b1fad364766d66cf7383a44
/usr/lib/.build-id/74
/usr/lib/.build-id/74/211a36ea7e6cb1f006b98a25acbe0c957654f5
/usr/lib/.build-id/75
/usr/lib/.build-id/75/e8b2d61f689a603c15f488ee01daa1c336e3ac
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/611514e905f68510a62293b699b3eb86748698
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/7e3c8e1b030cdc2a0889594ed79d1e21982cf4
/usr/lib/.build-id/8f/f5c1bd1e1b000398de2c48dc15bc0c248f91a8
/usr/lib/.build-id/90
/usr/lib/.build-id/90/ea25d15926cd64bef60f9ad2ec45a288212338
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/25e87f2eaf2f03259e47cae693edea976326c4
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/54a91a50672afc3291dd27dd8290b03d242d36
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/e6f013a653141a03086cfd0bfbee3739b62b0d
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/8b030663f610226434cf1d50ba2e18ec495e03
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/c1a7a69284c90513bdd157c1bf3c590a3be4fc
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/65cb2e8db552f92c8c9713c7570aae930358ac
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/df06630689deda0f56f55c60ef58c4bfca7a2b
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/4ff53d5236780ecbf0e2835581d5ee36b6f0c9
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/c6e0c90336a72042ef49dd6d86941aaa03c2c0
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/b189498ef14b9dbaac052b7d0c81bb7b9fcee2
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/38ffb561b866389eff9daef78d3d4fc36730f7
/usr/lib64/libr_anal.so.5.6.4
/usr/lib64/libr_asm.so.5.6.4
/usr/lib64/libr_bin.so.5.6.4
/usr/lib64/libr_bp.so.5.6.4
/usr/lib64/libr_config.so.5.6.4
/usr/lib64/libr_cons.so.5.6.4
/usr/lib64/libr_core.so.5.6.4
/usr/lib64/libr_crypto.so.5.6.4
/usr/lib64/libr_debug.so.5.6.4
/usr/lib64/libr_egg.so.5.6.4
/usr/lib64/libr_flag.so.5.6.4
/usr/lib64/libr_fs.so.5.6.4
/usr/lib64/libr_hash.so.5.6.4
/usr/lib64/libr_io.so.5.6.4
/usr/lib64/libr_lang.so.5.6.4
/usr/lib64/libr_magic.so.5.6.4
/usr/lib64/libr_main.so.5.6.4
/usr/lib64/libr_parse.so.5.6.4
/usr/lib64/libr_reg.so.5.6.4
/usr/lib64/libr_search.so.5.6.4
/usr/lib64/libr_socket.so.5.6.4
/usr/lib64/libr_syscall.so.5.6.4
/usr/lib64/libr_util.so.5.6.4
/usr/lib64/radare2
/usr/lib64/radare2/5.6.4
/usr/share/doc/radare2
/usr/share/doc/radare2/3D
/usr/share/doc/radare2/3D/3D-logo.r2
/usr/share/doc/radare2/3D/3D-pyramid.r2
/usr/share/doc/radare2/3D/3D-square.r2
/usr/share/doc/radare2/3D/Makefile
/usr/share/doc/radare2/3D/pyramid
/usr/share/doc/radare2/CONTRIBUTING.md
/usr/share/doc/radare2/DEVELOPERS.md
/usr/share/doc/radare2/README.md
/usr/share/doc/radare2/avr.md
/usr/share/doc/radare2/brainfuck.md
/usr/share/doc/radare2/calling-conventions.md
/usr/share/doc/radare2/debug.md
/usr/share/doc/radare2/esil.md
/usr/share/doc/radare2/fortunes.tips
/usr/share/doc/radare2/gdb.md
/usr/share/doc/radare2/gprobe.md
/usr/share/doc/radare2/intro.md
/usr/share/doc/radare2/io.md
/usr/share/doc/radare2/node.js
/usr/share/doc/radare2/node.js/Makefile
/usr/share/doc/radare2/node.js/README.md
/usr/share/doc/radare2/node.js/index.js
/usr/share/doc/radare2/node.js/package.json
/usr/share/doc/radare2/pdb
/usr/share/doc/radare2/pdb/index.js
/usr/share/doc/radare2/pdb/package.json
/usr/share/doc/radare2/pdb/pdb_usage.md
/usr/share/doc/radare2/rap.md
/usr/share/doc/radare2/sandbox
/usr/share/doc/radare2/sandbox/Makefile
/usr/share/doc/radare2/sandbox/README.md
/usr/share/doc/radare2/sandbox/rabin2.sb
/usr/share/doc/radare2/sandbox/radare2.sb
/usr/share/doc/radare2/siol.md
/usr/share/doc/radare2/strings.md
/usr/share/doc/radare2/windbg.md
/usr/share/doc/radare2/yara.md
/usr/share/licenses/radare2
/usr/share/licenses/radare2/COPYING
/usr/share/licenses/radare2/COPYING.LESSER
/usr/share/man/man1/r2-docker.1.gz
/usr/share/man/man1/r2agent.1.gz
/usr/share/man/man1/r2pm.1.gz
/usr/share/man/man1/rabin2.1.gz
/usr/share/man/man1/radare2.1.gz
/usr/share/man/man1/radiff2.1.gz
/usr/share/man/man1/rafind2.1.gz
/usr/share/man/man1/ragg2.1.gz
/usr/share/man/man1/rahash2.1.gz
/usr/share/man/man1/rarun2.1.gz
/usr/share/man/man1/rasm2.1.gz
/usr/share/man/man1/ravc2.1.gz
/usr/share/man/man1/rax2.1.gz
/usr/share/man/man7/esil.7.gz
/usr/share/radare2/5.6.4/www
/usr/share/radare2/5.6.4/www/README.Fedora
/usr/share/zsh/site-functions/_r2
/usr/share/zsh/site-functions/_rabin2
/usr/share/zsh/site-functions/_radiff2
/usr/share/zsh/site-functions/_rafind2
/usr/share/zsh/site-functions/_ragg2
/usr/share/zsh/site-functions/_rahash2
/usr/share/zsh/site-functions/_rasm2
/usr/share/zsh/site-functions/_rax2

References

Summary

In this tutorial we learn how to install radare2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install radare2 on Fedora 36” linkTitle: “radare2” type: “docs” description: “In this tutorial we learn how to install radare2 in Fedora 36. radare2 is The reverse engineering framework” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/radare2-featured.png

Introduction

In this tutorial we learn how to install radare2 on Fedora 36.

What is radare2

The radare2 is a reverse-engineering framework that is multi-architecture, multi-platform, and highly scriptable. Radare2 provides a hexadecimal editor, wrapped I/O, file system support, debugger support, diffing between two functions or binaries, and code analysis at opcode, basic block, and function levels.

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

Install radare2 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 radare2 using dnf by running the following command:

sudo dnf -y install radare2

Install radare2 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 radare2 using yum by running the following command:

sudo yum -y install radare2

How To Uninstall radare2 on Fedora 36

To uninstall only the radare2 package we can use the following command:

sudo dnf remove radare2

radare2 Package Contents on Fedora 36

/usr/bin/r2
/usr/bin/r2agent
/usr/bin/r2pm
/usr/bin/r2pm.sh
/usr/bin/rabin2
/usr/bin/radare2
/usr/bin/radiff2
/usr/bin/rafind2
/usr/bin/ragg2
/usr/bin/rahash2
/usr/bin/rarun2
/usr/bin/rasign2
/usr/bin/rasm2
/usr/bin/ravc2
/usr/bin/rax2
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/ac7533a0bbe79e6fd789e7c5126f57ff3795e9
/usr/lib/.build-id/03
/usr/lib/.build-id/03/66b869b348ffaeaba5a50d616fa4740506d06a
/usr/lib/.build-id/04
/usr/lib/.build-id/04/c261db9f83bbbeac32b9e1c93216db7fcc99b3
/usr/lib/.build-id/06
/usr/lib/.build-id/06/df1f21c18160082f87fd299f4c551cb91f7a87
/usr/lib/.build-id/22
/usr/lib/.build-id/22/0783ecac2659ef0dfd1352bf10113d3b18c214
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/6e38130424f0295369b10331d4a097c332b1d8
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/0ab1f52d595e2d3757613628cc57a89fa148cc
/usr/lib/.build-id/3d/115d609ff530b214f8a4c327a4f0ce29f62607
/usr/lib/.build-id/42
/usr/lib/.build-id/42/24cd17011a41ab03ed50daa99b30638ad23a7a
/usr/lib/.build-id/43
/usr/lib/.build-id/43/825405b66dd3ff7df98cb9fcd9df5b9bdab40c
/usr/lib/.build-id/47
/usr/lib/.build-id/47/c9683ae9f207a04a7434b752fd3a68c2cc7954
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/264750e04cebb2a5840698b2588cbbe8b94ad0
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/2df93c0459b9d37434bf18272c470c2e35c9ac
/usr/lib/.build-id/63
/usr/lib/.build-id/63/224a1a65e728b7a5373ba1ac64fc0986aea51f
/usr/lib/.build-id/67
/usr/lib/.build-id/67/40ee31fbd5ebe0cee27fc49e68628270eedb61
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/90187f2b9e85488381b8133989ea01156fc2b5
/usr/lib/.build-id/86
/usr/lib/.build-id/86/36f3143d8a8e3b8806c989462477a277403917
/usr/lib/.build-id/89
/usr/lib/.build-id/89/63f5dfc171af3ecc878d7fab87d56ade927da0
/usr/lib/.build-id/92
/usr/lib/.build-id/92/c8e7a6add5c9dd390e8d920c7d68b7a0f1fb69
/usr/lib/.build-id/97
/usr/lib/.build-id/97/38f987b65a9faa7def456a61f85a08d3d46638
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/c8e10b00bd56c8f23e8e1780a79764291a9aee
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/a0bd5f3fcf9e828d4f9864b7d72464eed08162
/usr/lib/.build-id/be
/usr/lib/.build-id/be/87388cd7288e96dc91d79a4d12ca49f9c87ee4
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/f5b0d9bf4f0debf80cff12f77b046a22c94eaf
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/28548ea7040d6fae02c839567efa924d9bf706
/usr/lib/.build-id/c1/3c85c71c5ee0a75b6925a9dcef31ddb5a1bdf4
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/040c690a9689b947b447bf26bd14b5a93f2089
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/739dea2cafcaa184df691b2d4bc960d10c7773
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/c69f62be203cccc15d26e5279689ccbe424ba4
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/efab2f6f80aa947c6a2dab42552fb85cd15ed1
/usr/lib/.build-id/da
/usr/lib/.build-id/da/f16bf01a16bdcb4e1011c3b4009b82ff80c813
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/a59a451ba926c952a50190c0fe5f0da67e7788
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/ad4957bf8df670b9626370e5addef1a70d9611
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/f35271993d19daadfa930fe0252c8e464dc1b3
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/352ac61ba9b69361ba84ec07b8db3029be7300
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/e4916f136e53a6e062748300bb5a271f5a4758
/usr/lib/libr_anal.so.5.6.4
/usr/lib/libr_asm.so.5.6.4
/usr/lib/libr_bin.so.5.6.4
/usr/lib/libr_bp.so.5.6.4
/usr/lib/libr_config.so.5.6.4
/usr/lib/libr_cons.so.5.6.4
/usr/lib/libr_core.so.5.6.4
/usr/lib/libr_crypto.so.5.6.4
/usr/lib/libr_debug.so.5.6.4
/usr/lib/libr_egg.so.5.6.4
/usr/lib/libr_flag.so.5.6.4
/usr/lib/libr_fs.so.5.6.4
/usr/lib/libr_hash.so.5.6.4
/usr/lib/libr_io.so.5.6.4
/usr/lib/libr_lang.so.5.6.4
/usr/lib/libr_magic.so.5.6.4
/usr/lib/libr_main.so.5.6.4
/usr/lib/libr_parse.so.5.6.4
/usr/lib/libr_reg.so.5.6.4
/usr/lib/libr_search.so.5.6.4
/usr/lib/libr_socket.so.5.6.4
/usr/lib/libr_syscall.so.5.6.4
/usr/lib/libr_util.so.5.6.4
/usr/lib/radare2
/usr/lib/radare2/5.6.4
/usr/share/doc/radare2
/usr/share/doc/radare2/3D
/usr/share/doc/radare2/3D/3D-logo.r2
/usr/share/doc/radare2/3D/3D-pyramid.r2
/usr/share/doc/radare2/3D/3D-square.r2
/usr/share/doc/radare2/3D/Makefile
/usr/share/doc/radare2/3D/pyramid
/usr/share/doc/radare2/CONTRIBUTING.md
/usr/share/doc/radare2/DEVELOPERS.md
/usr/share/doc/radare2/README.md
/usr/share/doc/radare2/avr.md
/usr/share/doc/radare2/brainfuck.md
/usr/share/doc/radare2/calling-conventions.md
/usr/share/doc/radare2/debug.md
/usr/share/doc/radare2/esil.md
/usr/share/doc/radare2/fortunes.tips
/usr/share/doc/radare2/gdb.md
/usr/share/doc/radare2/gprobe.md
/usr/share/doc/radare2/intro.md
/usr/share/doc/radare2/io.md
/usr/share/doc/radare2/node.js
/usr/share/doc/radare2/node.js/Makefile
/usr/share/doc/radare2/node.js/README.md
/usr/share/doc/radare2/node.js/index.js
/usr/share/doc/radare2/node.js/package.json
/usr/share/doc/radare2/pdb
/usr/share/doc/radare2/pdb/index.js
/usr/share/doc/radare2/pdb/package.json
/usr/share/doc/radare2/pdb/pdb_usage.md
/usr/share/doc/radare2/rap.md
/usr/share/doc/radare2/sandbox
/usr/share/doc/radare2/sandbox/Makefile
/usr/share/doc/radare2/sandbox/README.md
/usr/share/doc/radare2/sandbox/rabin2.sb
/usr/share/doc/radare2/sandbox/radare2.sb
/usr/share/doc/radare2/siol.md
/usr/share/doc/radare2/strings.md
/usr/share/doc/radare2/windbg.md
/usr/share/doc/radare2/yara.md
/usr/share/licenses/radare2
/usr/share/licenses/radare2/COPYING
/usr/share/licenses/radare2/COPYING.LESSER
/usr/share/man/man1/r2-docker.1.gz
/usr/share/man/man1/r2agent.1.gz
/usr/share/man/man1/r2pm.1.gz
/usr/share/man/man1/rabin2.1.gz
/usr/share/man/man1/radare2.1.gz
/usr/share/man/man1/radiff2.1.gz
/usr/share/man/man1/rafind2.1.gz
/usr/share/man/man1/ragg2.1.gz
/usr/share/man/man1/rahash2.1.gz
/usr/share/man/man1/rarun2.1.gz
/usr/share/man/man1/rasm2.1.gz
/usr/share/man/man1/ravc2.1.gz
/usr/share/man/man1/rax2.1.gz
/usr/share/man/man7/esil.7.gz
/usr/share/radare2/5.6.4/www
/usr/share/radare2/5.6.4/www/README.Fedora
/usr/share/zsh/site-functions/_r2
/usr/share/zsh/site-functions/_rabin2
/usr/share/zsh/site-functions/_radiff2
/usr/share/zsh/site-functions/_rafind2
/usr/share/zsh/site-functions/_ragg2
/usr/share/zsh/site-functions/_rahash2
/usr/share/zsh/site-functions/_rasm2
/usr/share/zsh/site-functions/_rax2

References

Summary

In this tutorial we learn how to install radare2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).