How To Install gcc-gdb-plugin.i686 on Amazon Linux 2

In this tutorial we learn how to install gcc-gdb-plugin.i686 in Amazon Linux 2. gcc-gdb-plugin.i686 is GCC plugin for GDB

Introduction

In this tutorial we learn how to install gcc-gdb-plugin.i686 on Amazon Linux 2.

What is gcc-gdb-plugin.i686

This package contains GCC plugin for GDB C expression evaluation.

We can use yum to install gcc-gdb-plugin.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gcc-gdb-plugin.i686.

Install gcc-gdb-plugin.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 gcc-gdb-plugin.i686 using yum by running the following command:

sudo yum -y install gcc-gdb-plugin.i686

How To Uninstall gcc-gdb-plugin.i686 on Amazon Linux 2

To uninstall only the gcc-gdb-plugin.i686 package we can use the following command:

sudo yum remove gcc-gdb-plugin.i686

gcc-gdb-plugin.i686 Package Contents on Amazon Linux 2

/usr/lib/gcc
/usr/lib/gcc/i686-redhat-linux
/usr/lib/gcc/i686-redhat-linux/7
/usr/lib/gcc/i686-redhat-linux/7/plugin
/usr/lib/gcc/i686-redhat-linux/7/plugin/libcc1plugin.so
/usr/lib/gcc/i686-redhat-linux/7/plugin/libcc1plugin.so.0
/usr/lib/gcc/i686-redhat-linux/7/plugin/libcc1plugin.so.0.0.0
/usr/lib/gcc/i686-redhat-linux/7/plugin/libcp1plugin.so
/usr/lib/gcc/i686-redhat-linux/7/plugin/libcp1plugin.so.0
/usr/lib/gcc/i686-redhat-linux/7/plugin/libcp1plugin.so.0.0.0
/usr/lib/libcc1.so
/usr/lib/libcc1.so.0
/usr/lib/libcc1.so.0.0.0
/usr/share/doc/gcc-gdb-plugin-7.3.1
/usr/share/doc/gcc-gdb-plugin-7.3.1/ChangeLog.bz2

References

Summary

In this tutorial we learn how to install gcc-gdb-plugin.i686 on Amazon Linux 2 using yum.