How To Install gperftools-devel.x86_64 on Amazon Linux 2

In this tutorial we learn how to install gperftools-devel.x86_64 in Amazon Linux 2. gperftools-devel.x86_64 is Development libraries and headers for gperftools

Introduction

In this tutorial we learn how to install gperftools-devel.x86_64 on Amazon Linux 2.

What is gperftools-devel.x86_64

Libraries and headers for developing applications that use gperftools.

We can use yum to install gperftools-devel.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gperftools-devel.x86_64.

Install gperftools-devel.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install gperftools-devel.x86_64

How To Uninstall gperftools-devel.x86_64 on Amazon Linux 2

To uninstall only the gperftools-devel.x86_64 package we can use the following command:

sudo yum remove gperftools-devel.x86_64

gperftools-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/google
/usr/include/google/heap-checker.h
/usr/include/google/heap-profiler.h
/usr/include/google/malloc_extension.h
/usr/include/google/malloc_extension_c.h
/usr/include/google/malloc_hook.h
/usr/include/google/malloc_hook_c.h
/usr/include/google/profiler.h
/usr/include/google/stacktrace.h
/usr/include/google/tcmalloc.h
/usr/include/gperftools
/usr/include/gperftools/heap-checker.h
/usr/include/gperftools/heap-profiler.h
/usr/include/gperftools/malloc_extension.h
/usr/include/gperftools/malloc_extension_c.h
/usr/include/gperftools/malloc_hook.h
/usr/include/gperftools/malloc_hook_c.h
/usr/include/gperftools/nallocx.h
/usr/include/gperftools/profiler.h
/usr/include/gperftools/stacktrace.h
/usr/include/gperftools/tcmalloc.h
/usr/lib64/libprofiler.so
/usr/lib64/libtcmalloc.so
/usr/lib64/libtcmalloc_and_profiler.so
/usr/lib64/libtcmalloc_debug.so
/usr/lib64/libtcmalloc_minimal.so
/usr/lib64/libtcmalloc_minimal_debug.so
/usr/lib64/pkgconfig/libprofiler.pc
/usr/lib64/pkgconfig/libtcmalloc.pc
/usr/lib64/pkgconfig/libtcmalloc_debug.pc
/usr/lib64/pkgconfig/libtcmalloc_minimal.pc
/usr/lib64/pkgconfig/libtcmalloc_minimal_debug.pc
/usr/share/doc/gperftools-2.6.1
/usr/share/doc/gperftools-2.6.1/AUTHORS
/usr/share/doc/gperftools-2.6.1/COPYING
/usr/share/doc/gperftools-2.6.1/ChangeLog
/usr/share/doc/gperftools-2.6.1/ChangeLog.old
/usr/share/doc/gperftools-2.6.1/NEWS
/usr/share/doc/gperftools-2.6.1/README
/usr/share/doc/gperftools-2.6.1/README_windows.txt
/usr/share/doc/gperftools-2.6.1/TODO
/usr/share/doc/gperftools-2.6.1/cpuprofile-fileformat.html
/usr/share/doc/gperftools-2.6.1/cpuprofile.html
/usr/share/doc/gperftools-2.6.1/designstyle.css
/usr/share/doc/gperftools-2.6.1/heap-example1.png
/usr/share/doc/gperftools-2.6.1/heap_checker.html
/usr/share/doc/gperftools-2.6.1/heapprofile.html
/usr/share/doc/gperftools-2.6.1/index.html
/usr/share/doc/gperftools-2.6.1/overview.dot
/usr/share/doc/gperftools-2.6.1/overview.gif
/usr/share/doc/gperftools-2.6.1/pageheap.dot
/usr/share/doc/gperftools-2.6.1/pageheap.gif
/usr/share/doc/gperftools-2.6.1/pprof-test-big.gif
/usr/share/doc/gperftools-2.6.1/pprof-test.gif
/usr/share/doc/gperftools-2.6.1/pprof-vsnprintf-big.gif
/usr/share/doc/gperftools-2.6.1/pprof-vsnprintf.gif
/usr/share/doc/gperftools-2.6.1/pprof_remote_servers.html
/usr/share/doc/gperftools-2.6.1/spanmap.dot
/usr/share/doc/gperftools-2.6.1/spanmap.gif
/usr/share/doc/gperftools-2.6.1/t-test1.times.txt
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspercpusec.vs.threads.1024.bytes.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspercpusec.vs.threads.128.bytes.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspercpusec.vs.threads.131072.bytes.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspercpusec.vs.threads.16384.bytes.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspercpusec.vs.threads.2048.bytes.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspercpusec.vs.threads.256.bytes.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspercpusec.vs.threads.32768.bytes.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspercpusec.vs.threads.4096.bytes.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspercpusec.vs.threads.512.bytes.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspercpusec.vs.threads.64.bytes.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspercpusec.vs.threads.65536.bytes.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspercpusec.vs.threads.8192.bytes.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspersec.vs.size.1.threads.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspersec.vs.size.12.threads.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspersec.vs.size.16.threads.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspersec.vs.size.2.threads.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspersec.vs.size.20.threads.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspersec.vs.size.3.threads.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspersec.vs.size.4.threads.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspersec.vs.size.5.threads.png
/usr/share/doc/gperftools-2.6.1/tcmalloc-opspersec.vs.size.8.threads.png
/usr/share/doc/gperftools-2.6.1/tcmalloc.html
/usr/share/doc/gperftools-2.6.1/threadheap.dot
/usr/share/doc/gperftools-2.6.1/threadheap.gif

References

Summary

In this tutorial we learn how to install gperftools-devel.x86_64 on Amazon Linux 2 using yum.