How To Install valgrind.i686 on Amazon Linux 2
Introduction
In this tutorial we learn how to install valgrind.i686 on Amazon Linux 2.
What is valgrind.i686
Valgrind is an instrumentation framework for building dynamic analysis tools. There are Valgrind tools that can automatically detect many memory management and threading bugs, and profile your programs in detail. You can also use Valgrind to build new tools. The Valgrind distribution currently includes six production-quality tools default tool), two thread error detectors (helgrind and drd), a cache and branch-prediction profiler (cachegrind), a call-graph generating cache and branch-prediction profiler (callgrind), and a heap profiler (massif).
We can use yum to install valgrind.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install valgrind.i686.
Install valgrind.i686 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 valgrind.i686 using yum by running the following command:
sudo yum -y install valgrind.i686
How To Uninstall valgrind.i686 on Amazon Linux 2
To uninstall only the valgrind.i686 package we can use the following command:
sudo yum remove valgrind.i686
valgrind.i686 Package Contents on Amazon Linux 2
/usr/bin/callgrind_annotate
/usr/bin/callgrind_control
/usr/bin/cg_annotate
/usr/bin/cg_diff
/usr/bin/cg_merge
/usr/bin/ms_print
/usr/bin/valgrind
/usr/bin/valgrind-di-server
/usr/bin/valgrind-listener
/usr/bin/vgdb
/usr/lib/valgrind
/usr/lib/valgrind/32bit-core-valgrind-s1.xml
/usr/lib/valgrind/32bit-core-valgrind-s2.xml
/usr/lib/valgrind/32bit-core.xml
/usr/lib/valgrind/32bit-linux-valgrind-s1.xml
/usr/lib/valgrind/32bit-linux-valgrind-s2.xml
/usr/lib/valgrind/32bit-linux.xml
/usr/lib/valgrind/32bit-sse-valgrind-s1.xml
/usr/lib/valgrind/32bit-sse-valgrind-s2.xml
/usr/lib/valgrind/32bit-sse.xml
/usr/lib/valgrind/64bit-avx-valgrind-s1.xml
/usr/lib/valgrind/64bit-avx-valgrind-s2.xml
/usr/lib/valgrind/64bit-avx.xml
/usr/lib/valgrind/64bit-core-valgrind-s1.xml
/usr/lib/valgrind/64bit-core-valgrind-s2.xml
/usr/lib/valgrind/64bit-core.xml
/usr/lib/valgrind/64bit-linux-valgrind-s1.xml
/usr/lib/valgrind/64bit-linux-valgrind-s2.xml
/usr/lib/valgrind/64bit-linux.xml
/usr/lib/valgrind/64bit-sse-valgrind-s1.xml
/usr/lib/valgrind/64bit-sse-valgrind-s2.xml
/usr/lib/valgrind/64bit-sse.xml
/usr/lib/valgrind/amd64-avx-coresse-valgrind.xml
/usr/lib/valgrind/amd64-avx-coresse.xml
/usr/lib/valgrind/amd64-avx-linux-valgrind.xml
/usr/lib/valgrind/amd64-avx-linux.xml
/usr/lib/valgrind/amd64-coresse-valgrind.xml
/usr/lib/valgrind/amd64-linux-valgrind.xml
/usr/lib/valgrind/arm-core-valgrind-s1.xml
/usr/lib/valgrind/arm-core-valgrind-s2.xml
/usr/lib/valgrind/arm-core.xml
/usr/lib/valgrind/arm-vfpv3-valgrind-s1.xml
/usr/lib/valgrind/arm-vfpv3-valgrind-s2.xml
/usr/lib/valgrind/arm-vfpv3.xml
/usr/lib/valgrind/arm-with-vfpv3-valgrind.xml
/usr/lib/valgrind/arm-with-vfpv3.xml
/usr/lib/valgrind/cachegrind-x86-linux
/usr/lib/valgrind/callgrind-x86-linux
/usr/lib/valgrind/default.supp
/usr/lib/valgrind/drd-x86-linux
/usr/lib/valgrind/exp-bbv-x86-linux
/usr/lib/valgrind/exp-dhat-x86-linux
/usr/lib/valgrind/exp-sgcheck-x86-linux
/usr/lib/valgrind/getoff-x86-linux
/usr/lib/valgrind/helgrind-x86-linux
/usr/lib/valgrind/i386-coresse-valgrind.xml
/usr/lib/valgrind/i386-linux-valgrind.xml
/usr/lib/valgrind/lackey-x86-linux
/usr/lib/valgrind/massif-x86-linux
/usr/lib/valgrind/memcheck-x86-linux
/usr/lib/valgrind/mips-cp0-valgrind-s1.xml
/usr/lib/valgrind/mips-cp0-valgrind-s2.xml
/usr/lib/valgrind/mips-cp0.xml
/usr/lib/valgrind/mips-cpu-valgrind-s1.xml
/usr/lib/valgrind/mips-cpu-valgrind-s2.xml
/usr/lib/valgrind/mips-cpu.xml
/usr/lib/valgrind/mips-fpu-valgrind-s1.xml
/usr/lib/valgrind/mips-fpu-valgrind-s2.xml
/usr/lib/valgrind/mips-fpu.xml
/usr/lib/valgrind/mips-linux-valgrind.xml
/usr/lib/valgrind/mips-linux.xml
/usr/lib/valgrind/mips64-cp0-valgrind-s1.xml
/usr/lib/valgrind/mips64-cp0-valgrind-s2.xml
/usr/lib/valgrind/mips64-cp0.xml
/usr/lib/valgrind/mips64-cpu-valgrind-s1.xml
/usr/lib/valgrind/mips64-cpu-valgrind-s2.xml
/usr/lib/valgrind/mips64-cpu.xml
/usr/lib/valgrind/mips64-fpu-valgrind-s1.xml
/usr/lib/valgrind/mips64-fpu-valgrind-s2.xml
/usr/lib/valgrind/mips64-fpu.xml
/usr/lib/valgrind/mips64-linux-valgrind.xml
/usr/lib/valgrind/mips64-linux.xml
/usr/lib/valgrind/none-x86-linux
/usr/lib/valgrind/power-altivec-valgrind-s1.xml
/usr/lib/valgrind/power-altivec-valgrind-s2.xml
/usr/lib/valgrind/power-altivec.xml
/usr/lib/valgrind/power-core-valgrind-s1.xml
/usr/lib/valgrind/power-core-valgrind-s2.xml
/usr/lib/valgrind/power-core.xml
/usr/lib/valgrind/power-fpu-valgrind-s1.xml
/usr/lib/valgrind/power-fpu-valgrind-s2.xml
/usr/lib/valgrind/power-fpu.xml
/usr/lib/valgrind/power-linux-valgrind-s1.xml
/usr/lib/valgrind/power-linux-valgrind-s2.xml
/usr/lib/valgrind/power-linux.xml
/usr/lib/valgrind/power-vsx-valgrind-s1.xml
/usr/lib/valgrind/power-vsx-valgrind-s2.xml
/usr/lib/valgrind/power-vsx.xml
/usr/lib/valgrind/power64-core-valgrind-s1.xml
/usr/lib/valgrind/power64-core-valgrind-s2.xml
/usr/lib/valgrind/power64-core.xml
/usr/lib/valgrind/power64-core2-valgrind-s1.xml
/usr/lib/valgrind/power64-core2-valgrind-s2.xml
/usr/lib/valgrind/power64-linux-valgrind-s1.xml
/usr/lib/valgrind/power64-linux-valgrind-s2.xml
/usr/lib/valgrind/power64-linux.xml
/usr/lib/valgrind/powerpc-altivec32l-valgrind.xml
/usr/lib/valgrind/powerpc-altivec32l.xml
/usr/lib/valgrind/powerpc-altivec64l-valgrind.xml
/usr/lib/valgrind/powerpc-altivec64l.xml
/usr/lib/valgrind/s390-acr-valgrind-s1.xml
/usr/lib/valgrind/s390-acr-valgrind-s2.xml
/usr/lib/valgrind/s390-acr.xml
/usr/lib/valgrind/s390-fpr-valgrind-s1.xml
/usr/lib/valgrind/s390-fpr-valgrind-s2.xml
/usr/lib/valgrind/s390-fpr.xml
/usr/lib/valgrind/s390x-core64-valgrind-s1.xml
/usr/lib/valgrind/s390x-core64-valgrind-s2.xml
/usr/lib/valgrind/s390x-core64.xml
/usr/lib/valgrind/s390x-generic-valgrind.xml
/usr/lib/valgrind/s390x-generic.xml
/usr/lib/valgrind/s390x-linux64-valgrind-s1.xml
/usr/lib/valgrind/s390x-linux64-valgrind-s2.xml
/usr/lib/valgrind/s390x-linux64.xml
/usr/lib/valgrind/vgpreload_core-x86-linux.so
/usr/lib/valgrind/vgpreload_drd-x86-linux.so
/usr/lib/valgrind/vgpreload_exp-dhat-x86-linux.so
/usr/lib/valgrind/vgpreload_exp-sgcheck-x86-linux.so
/usr/lib/valgrind/vgpreload_helgrind-x86-linux.so
/usr/lib/valgrind/vgpreload_massif-x86-linux.so
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so
/usr/share/doc/valgrind-3.13.0
/usr/share/doc/valgrind-3.13.0/COPYING
/usr/share/doc/valgrind-3.13.0/NEWS
/usr/share/doc/valgrind-3.13.0/README_DEVELOPERS
/usr/share/doc/valgrind-3.13.0/README_MISSING_SYSCALL_OR_IOCTL
/usr/share/doc/valgrind-3.13.0/README_PACKAGERS
/usr/share/doc/valgrind-3.13.0/html
/usr/share/doc/valgrind-3.13.0/html/FAQ.html
/usr/share/doc/valgrind-3.13.0/html/QuickStart.html
/usr/share/doc/valgrind-3.13.0/html/bbv-manual.html
/usr/share/doc/valgrind-3.13.0/html/cg-manual.html
/usr/share/doc/valgrind-3.13.0/html/cl-format.html
/usr/share/doc/valgrind-3.13.0/html/cl-manual.html
/usr/share/doc/valgrind-3.13.0/html/design-impl.html
/usr/share/doc/valgrind-3.13.0/html/dh-manual.html
/usr/share/doc/valgrind-3.13.0/html/dist.authors.html
/usr/share/doc/valgrind-3.13.0/html/dist.html
/usr/share/doc/valgrind-3.13.0/html/dist.news.html
/usr/share/doc/valgrind-3.13.0/html/dist.news.old.html
/usr/share/doc/valgrind-3.13.0/html/dist.readme-android.html
/usr/share/doc/valgrind-3.13.0/html/dist.readme-android_emulator.html
/usr/share/doc/valgrind-3.13.0/html/dist.readme-developers.html
/usr/share/doc/valgrind-3.13.0/html/dist.readme-mips.html
/usr/share/doc/valgrind-3.13.0/html/dist.readme-missing.html
/usr/share/doc/valgrind-3.13.0/html/dist.readme-packagers.html
/usr/share/doc/valgrind-3.13.0/html/dist.readme-s390.html
/usr/share/doc/valgrind-3.13.0/html/dist.readme-solaris.html
/usr/share/doc/valgrind-3.13.0/html/dist.readme.html
/usr/share/doc/valgrind-3.13.0/html/drd-manual.html
/usr/share/doc/valgrind-3.13.0/html/faq.html
/usr/share/doc/valgrind-3.13.0/html/hg-manual.html
/usr/share/doc/valgrind-3.13.0/html/images
/usr/share/doc/valgrind-3.13.0/html/images/home.png
/usr/share/doc/valgrind-3.13.0/html/images/kcachegrind_xtree.png
/usr/share/doc/valgrind-3.13.0/html/images/next.png
/usr/share/doc/valgrind-3.13.0/html/images/prev.png
/usr/share/doc/valgrind-3.13.0/html/images/up.png
/usr/share/doc/valgrind-3.13.0/html/index.html
/usr/share/doc/valgrind-3.13.0/html/license.gfdl.html
/usr/share/doc/valgrind-3.13.0/html/license.gpl.html
/usr/share/doc/valgrind-3.13.0/html/licenses.html
/usr/share/doc/valgrind-3.13.0/html/lk-manual.html
/usr/share/doc/valgrind-3.13.0/html/manual-core-adv.html
/usr/share/doc/valgrind-3.13.0/html/manual-core.html
/usr/share/doc/valgrind-3.13.0/html/manual-intro.html
/usr/share/doc/valgrind-3.13.0/html/manual-writing-tools.html
/usr/share/doc/valgrind-3.13.0/html/manual.html
/usr/share/doc/valgrind-3.13.0/html/mc-manual.html
/usr/share/doc/valgrind-3.13.0/html/ms-manual.html
/usr/share/doc/valgrind-3.13.0/html/nl-manual.html
/usr/share/doc/valgrind-3.13.0/html/quick-start.html
/usr/share/doc/valgrind-3.13.0/html/sg-manual.html
/usr/share/doc/valgrind-3.13.0/html/tech-docs.html
/usr/share/doc/valgrind-3.13.0/html/vg_basic.css
/usr/share/doc/valgrind-3.13.0/valgrind_manual.pdf
/usr/share/man/man1/callgrind_annotate.1.gz
/usr/share/man/man1/callgrind_control.1.gz
/usr/share/man/man1/cg_annotate.1.gz
/usr/share/man/man1/cg_diff.1.gz
/usr/share/man/man1/cg_merge.1.gz
/usr/share/man/man1/ms_print.1.gz
/usr/share/man/man1/valgrind-listener.1.gz
/usr/share/man/man1/valgrind.1.gz
/usr/share/man/man1/vgdb.1.gz
References
Summary
In this tutorial we learn how to install valgrind.i686 on Amazon Linux 2 using yum.