How To Install gob2.x86_64 on Amazon Linux 2

In this tutorial we learn how to install gob2.x86_64 in Amazon Linux 2. gob2.x86_64 is The GObject Builder

Introduction

In this tutorial we learn how to install gob2.x86_64 on Amazon Linux 2.

What is gob2.x86_64

GOB is a simple preprocessor for making GObject objects (glib objects). It makes objects from a single file which has inline C code so that you don’t have to edit the generated files. Syntax is somewhat inspired by java and yacc. It supports generating C++ code

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

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

sudo yum -y install gob2.x86_64

How To Uninstall gob2.x86_64 on Amazon Linux 2

To uninstall only the gob2.x86_64 package we can use the following command:

sudo yum remove gob2.x86_64

gob2.x86_64 Package Contents on Amazon Linux 2

/usr/bin/gob2
/usr/share/aclocal/gob2.m4
/usr/share/doc/gob2-2.0.19
/usr/share/doc/gob2-2.0.19/AUTHORS
/usr/share/doc/gob2-2.0.19/COPYING
/usr/share/doc/gob2-2.0.19/ChangeLog
/usr/share/doc/gob2-2.0.19/NEWS
/usr/share/doc/gob2-2.0.19/README
/usr/share/doc/gob2-2.0.19/TODO
/usr/share/doc/gob2-2.0.19/examples
/usr/share/doc/gob2-2.0.19/examples/GNOME_Foo_SomeInterface.idl
/usr/share/doc/gob2-2.0.19/examples/Makefile
/usr/share/doc/gob2-2.0.19/examples/Makefile.am
/usr/share/doc/gob2-2.0.19/examples/Makefile.in
/usr/share/doc/gob2-2.0.19/examples/README
/usr/share/doc/gob2-2.0.19/examples/foo-some-interface.gob
/usr/share/doc/gob2-2.0.19/examples/gtk-button-count.gob
/usr/share/doc/gob2-2.0.19/examples/my-glade-main.c
/usr/share/doc/gob2-2.0.19/examples/my-glade.glade
/usr/share/doc/gob2-2.0.19/examples/my-glade.gob
/usr/share/doc/gob2-2.0.19/examples/my-person.gob
/usr/share/man/man1/gob2.1.gz

References

Summary

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