How To Install radare2-devel on CentOS 8

radare2-devel is Development files for the radare2 package

Introduction

In this tutorial we learn how to install radare2-devel on CentOS 8.

What is radare2-devel

Development files for the radare2 package. See radare2 package for more information.

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

Install radare2-devel on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install radare2-devel using dnf by running the following command:

sudo dnf -y install radare2-devel

Install radare2-devel on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install radare2-devel using yum by running the following command:

sudo yum -y install radare2-devel

How To Uninstall radare2-devel on CentOS 8

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

sudo dnf remove radare2-devel

radare2-devel Package Contents on CentOS 8

/usr/include/libr
/usr/include/libr/r2naked.h
/usr/include/libr/r_agraph.h
/usr/include/libr/r_anal.h
/usr/include/libr/r_asm.h
/usr/include/libr/r_bin.h
/usr/include/libr/r_bin_dwarf.h
/usr/include/libr/r_bind.h
/usr/include/libr/r_binheap.h
/usr/include/libr/r_bp.h
/usr/include/libr/r_cmd.h
/usr/include/libr/r_codemeta.h
/usr/include/libr/r_config.h
/usr/include/libr/r_cons.h
/usr/include/libr/r_core.h
/usr/include/libr/r_crypto
/usr/include/libr/r_crypto.h
/usr/include/libr/r_crypto/r_des.h
/usr/include/libr/r_debug.h
/usr/include/libr/r_diff.h
/usr/include/libr/r_egg.h
/usr/include/libr/r_endian.h
/usr/include/libr/r_flag.h
/usr/include/libr/r_flist.h
/usr/include/libr/r_fs.h
/usr/include/libr/r_getopt.h
/usr/include/libr/r_hash.h
/usr/include/libr/r_heap_glibc.h
/usr/include/libr/r_heap_jemalloc.h
/usr/include/libr/r_io.h
/usr/include/libr/r_lang.h
/usr/include/libr/r_lib.h
/usr/include/libr/r_list.h
/usr/include/libr/r_magic.h
/usr/include/libr/r_main.h
/usr/include/libr/r_parse.h
/usr/include/libr/r_pdb.h
/usr/include/libr/r_qrcode.h
/usr/include/libr/r_reg.h
/usr/include/libr/r_regex.h
/usr/include/libr/r_search.h
/usr/include/libr/r_sign.h
/usr/include/libr/r_skiplist.h
/usr/include/libr/r_skyline.h
/usr/include/libr/r_socket.h
/usr/include/libr/r_syscall.h
/usr/include/libr/r_th.h
/usr/include/libr/r_types.h
/usr/include/libr/r_types_base.h
/usr/include/libr/r_types_overflow.h
/usr/include/libr/r_userconf.h
/usr/include/libr/r_util
/usr/include/libr/r_util.h
/usr/include/libr/r_util/pj.h
/usr/include/libr/r_util/r_alloc.h
/usr/include/libr/r_util/r_ascii_table.h
/usr/include/libr/r_util/r_asn1.h
/usr/include/libr/r_util/r_assert.h
/usr/include/libr/r_util/r_axml.h
/usr/include/libr/r_util/r_base64.h
/usr/include/libr/r_util/r_base91.h
/usr/include/libr/r_util/r_big.h
/usr/include/libr/r_util/r_bitmap.h
/usr/include/libr/r_util/r_buf.h
/usr/include/libr/r_util/r_cache.h
/usr/include/libr/r_util/r_ctypes.h
/usr/include/libr/r_util/r_debruijn.h
/usr/include/libr/r_util/r_event.h
/usr/include/libr/r_util/r_file.h
/usr/include/libr/r_util/r_graph.h
/usr/include/libr/r_util/r_graph_drawable.h
/usr/include/libr/r_util/r_hex.h
/usr/include/libr/r_util/r_idpool.h
/usr/include/libr/r_util/r_intervaltree.h
/usr/include/libr/r_util/r_itv.h
/usr/include/libr/r_util/r_json.h
/usr/include/libr/r_util/r_log.h
/usr/include/libr/r_util/r_mem.h
/usr/include/libr/r_util/r_name.h
/usr/include/libr/r_util/r_num.h
/usr/include/libr/r_util/r_panels.h
/usr/include/libr/r_util/r_pkcs7.h
/usr/include/libr/r_util/r_pool.h
/usr/include/libr/r_util/r_print.h
/usr/include/libr/r_util/r_protobuf.h
/usr/include/libr/r_util/r_punycode.h
/usr/include/libr/r_util/r_queue.h
/usr/include/libr/r_util/r_range.h
/usr/include/libr/r_util/r_rbtree.h
/usr/include/libr/r_util/r_sandbox.h
/usr/include/libr/r_util/r_signal.h
/usr/include/libr/r_util/r_spaces.h
/usr/include/libr/r_util/r_stack.h
/usr/include/libr/r_util/r_str.h
/usr/include/libr/r_util/r_str_constpool.h
/usr/include/libr/r_util/r_str_util.h
/usr/include/libr/r_util/r_strbuf.h
/usr/include/libr/r_util/r_strpool.h
/usr/include/libr/r_util/r_sys.h
/usr/include/libr/r_util/r_table.h
/usr/include/libr/r_util/r_time.h
/usr/include/libr/r_util/r_tree.h
/usr/include/libr/r_util/r_uleb128.h
/usr/include/libr/r_util/r_utf16.h
/usr/include/libr/r_util/r_utf32.h
/usr/include/libr/r_util/r_utf8.h
/usr/include/libr/r_util/r_x509.h
/usr/include/libr/r_vector.h
/usr/include/libr/r_version.h
/usr/include/libr/sdb
/usr/include/libr/sdb/buffer.h
/usr/include/libr/sdb/cdb.h
/usr/include/libr/sdb/cdb_make.h
/usr/include/libr/sdb/config.h
/usr/include/libr/sdb/dict.h
/usr/include/libr/sdb/ht_inc.h
/usr/include/libr/sdb/ht_pp.h
/usr/include/libr/sdb/ht_pu.h
/usr/include/libr/sdb/ht_up.h
/usr/include/libr/sdb/ht_uu.h
/usr/include/libr/sdb/ls.h
/usr/include/libr/sdb/sdb.h
/usr/include/libr/sdb/sdb_version.h
/usr/include/libr/sdb/sdbht.h
/usr/include/libr/sdb/set.h
/usr/include/libr/sdb/types.h
/usr/include/libr/sflib
/usr/include/libr/sflib/common
/usr/include/libr/sflib/common/sfsocketcall.h
/usr/include/libr/sflib/common/sftypes.h
/usr/include/libr/sflib/darwin-arm-64
/usr/include/libr/sflib/darwin-arm-64/sflib.h
/usr/include/libr/sflib/darwin-arm-64/sfsyscall.h
/usr/include/libr/sflib/darwin-arm-64/sfsysnr.h
/usr/include/libr/sflib/darwin-x86-32
/usr/include/libr/sflib/darwin-x86-32/sflib.h
/usr/include/libr/sflib/darwin-x86-32/sfsyscall.h
/usr/include/libr/sflib/darwin-x86-32/sfsysnr.h
/usr/include/libr/sflib/darwin-x86-64
/usr/include/libr/sflib/darwin-x86-64/sflib.h
/usr/include/libr/sflib/darwin-x86-64/sfsyscall.h
/usr/include/libr/sflib/darwin-x86-64/sfsysnr.h
/usr/include/libr/sflib/freebsd-x86-32
/usr/include/libr/sflib/freebsd-x86-32/sflib.h
/usr/include/libr/sflib/freebsd-x86-32/sfsyscall.h
/usr/include/libr/sflib/freebsd-x86-32/sfsysnr.h
/usr/include/libr/sflib/linux-arm-32
/usr/include/libr/sflib/linux-arm-32/sflib.h
/usr/include/libr/sflib/linux-arm-32/sfsyscall.h
/usr/include/libr/sflib/linux-arm-32/sfsysnr.h
/usr/include/libr/sflib/linux-arm-64
/usr/include/libr/sflib/linux-arm-64/sflib.h
/usr/include/libr/sflib/linux-arm-64/sfsyscall.h
/usr/include/libr/sflib/linux-arm-64/sfsysnr.h
/usr/include/libr/sflib/linux-x86-32
/usr/include/libr/sflib/linux-x86-32/sflib.h
/usr/include/libr/sflib/linux-x86-32/sfsyscall.h
/usr/include/libr/sflib/linux-x86-32/sfsysnr.h
/usr/include/libr/sflib/linux-x86-64
/usr/include/libr/sflib/linux-x86-64/sflib.h
/usr/include/libr/sflib/linux-x86-64/sfsyscall.h
/usr/include/libr/sflib/linux-x86-64/sfsysnr.h
/usr/lib64/libr_anal.so
/usr/lib64/libr_asm.so
/usr/lib64/libr_bin.so
/usr/lib64/libr_bp.so
/usr/lib64/libr_config.so
/usr/lib64/libr_cons.so
/usr/lib64/libr_core.so
/usr/lib64/libr_crypto.so
/usr/lib64/libr_debug.so
/usr/lib64/libr_egg.so
/usr/lib64/libr_flag.so
/usr/lib64/libr_fs.so
/usr/lib64/libr_hash.so
/usr/lib64/libr_io.so
/usr/lib64/libr_lang.so
/usr/lib64/libr_magic.so
/usr/lib64/libr_main.so
/usr/lib64/libr_parse.so
/usr/lib64/libr_reg.so
/usr/lib64/libr_search.so
/usr/lib64/libr_socket.so
/usr/lib64/libr_syscall.so
/usr/lib64/libr_util.so
/usr/lib64/pkgconfig/libr.pc
/usr/lib64/pkgconfig/r_anal.pc
/usr/lib64/pkgconfig/r_asm.pc
/usr/lib64/pkgconfig/r_bin.pc
/usr/lib64/pkgconfig/r_bp.pc
/usr/lib64/pkgconfig/r_config.pc
/usr/lib64/pkgconfig/r_cons.pc
/usr/lib64/pkgconfig/r_core.pc
/usr/lib64/pkgconfig/r_crypto.pc
/usr/lib64/pkgconfig/r_debug.pc
/usr/lib64/pkgconfig/r_egg.pc
/usr/lib64/pkgconfig/r_flag.pc
/usr/lib64/pkgconfig/r_fs.pc
/usr/lib64/pkgconfig/r_hash.pc
/usr/lib64/pkgconfig/r_io.pc
/usr/lib64/pkgconfig/r_lang.pc
/usr/lib64/pkgconfig/r_magic.pc
/usr/lib64/pkgconfig/r_main.pc
/usr/lib64/pkgconfig/r_parse.pc
/usr/lib64/pkgconfig/r_reg.pc
/usr/lib64/pkgconfig/r_search.pc
/usr/lib64/pkgconfig/r_socket.pc
/usr/lib64/pkgconfig/r_syscall.pc
/usr/lib64/pkgconfig/r_util.pc

References

Summary

In this tutorial we learn how to install radare2-devel on CentOS 8 using yum and dnf.