How To Install gcc-objc.x86_64 on Amazon Linux 2
In this tutorial we learn how to install gcc-objc.x86_64 in Amazon Linux 2. gcc-objc.x86_64 is Objective-C support for GCC
Introduction
In this tutorial we learn how to install gcc-objc.x86_64
on Amazon Linux 2.
What is gcc-objc.x86_64
gcc-objc provides Objective-C support for the GCC. Mainly used on systems running NeXTSTEP, Objective-C is an object-oriented derivative of the C language.
We can use yum
to install gcc-objc.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install gcc-objc.x86_64.
Install gcc-objc.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 gcc-objc.x86_64
using yum
by running the following command:
sudo yum -y install gcc-objc.x86_64
How To Uninstall gcc-objc.x86_64 on Amazon Linux 2
To uninstall only the gcc-objc.x86_64
package we can use the following command:
sudo yum remove gcc-objc.x86_64
gcc-objc.x86_64 Package Contents on Amazon Linux 2
/usr/lib/gcc
/usr/lib/gcc/x86_64-redhat-linux
/usr/lib/gcc/x86_64-redhat-linux/7
/usr/lib/gcc/x86_64-redhat-linux/7/32
/usr/lib/gcc/x86_64-redhat-linux/7/32/libobjc.a
/usr/lib/gcc/x86_64-redhat-linux/7/32/libobjc.so
/usr/lib/gcc/x86_64-redhat-linux/7/include
/usr/lib/gcc/x86_64-redhat-linux/7/include/objc
/usr/lib/gcc/x86_64-redhat-linux/7/include/objc/NXConstStr.h
/usr/lib/gcc/x86_64-redhat-linux/7/include/objc/Object.h
/usr/lib/gcc/x86_64-redhat-linux/7/include/objc/Protocol.h
/usr/lib/gcc/x86_64-redhat-linux/7/include/objc/message.h
/usr/lib/gcc/x86_64-redhat-linux/7/include/objc/objc-decls.h
/usr/lib/gcc/x86_64-redhat-linux/7/include/objc/objc-exception.h
/usr/lib/gcc/x86_64-redhat-linux/7/include/objc/objc-sync.h
/usr/lib/gcc/x86_64-redhat-linux/7/include/objc/objc.h
/usr/lib/gcc/x86_64-redhat-linux/7/include/objc/runtime.h
/usr/lib/gcc/x86_64-redhat-linux/7/include/objc/thr.h
/usr/lib/gcc/x86_64-redhat-linux/7/libobjc.a
/usr/lib/gcc/x86_64-redhat-linux/7/libobjc.so
/usr/libexec/gcc
/usr/libexec/gcc/x86_64-redhat-linux
/usr/libexec/gcc/x86_64-redhat-linux/7
/usr/libexec/gcc/x86_64-redhat-linux/7/cc1obj
/usr/share/doc/gcc-objc-7.3.1
/usr/share/doc/gcc-objc-7.3.1/ChangeLog.bz2
/usr/share/doc/gcc-objc-7.3.1/README.libobjc
/usr/share/doc/gcc-objc-7.3.1/THREADS
References
Summary
In this tutorial we learn how to install gcc-objc.x86_64
on Amazon Linux 2 using yum.