How To Install automoc.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install automoc.x86_64 on Amazon Linux 2.
What is automoc.x86_64
This package contains the automoc4 binary which is used to run moc on the right source files in a Qt 4 or KDE 4 application. Moc is the meta object compiler which is a widely used tool with Qt and creates standard C++ files to provide syntactic sugar of the signal/slots mechanism.
We can use yum to install automoc.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install automoc.x86_64.
Install automoc.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 automoc.x86_64 using yum by running the following command:
sudo yum -y install automoc.x86_64
How To Uninstall automoc.x86_64 on Amazon Linux 2
To uninstall only the automoc.x86_64 package we can use the following command:
sudo yum remove automoc.x86_64
automoc.x86_64 Package Contents on Amazon Linux 2
/usr/bin/automoc4
/usr/lib64/automoc4
/usr/lib64/automoc4/Automoc4Config.cmake
/usr/lib64/automoc4/Automoc4Version.cmake
/usr/lib64/automoc4/automoc4.files.in
References
Summary
In this tutorial we learn how to install automoc.x86_64 on Amazon Linux 2 using yum.