How To Install automoc on Debian 10
Introduction
In this tutorial we learn how to install automoc on Debian 10.
What is automoc
automoc is:
This package contains the automoc4 binary which is used to run moc on the right binaries in a Qt 4 or KDE 4 application.
Moc is the meta object compiler which is a much used tool when using the Qt toolkit.
There are three methods to install automoc on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install automoc Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install automoc using apt-get by running the following command:
sudo apt-get -y install automoc
Install automoc Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install automoc using apt by running the following command:
sudo apt -y install automoc
Install automoc Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install automoc using aptitude by running the following command:
sudo aptitude -y install automoc
How To Uninstall automoc on Debian 10
To uninstall only the automoc package we can use the following command:
sudo apt-get remove automoc
Uninstall automoc And Its Dependencies
To uninstall automoc and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove automoc
Remove automoc Configurations and Data
To remove automoc configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge automoc
Remove automoc configuration, data, and all of its dependencies
We can use the following command to remove automoc configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge automoc
Dependencies
automoc have the following dependencies:
References
Summary
In this tutorial we learn how to install automoc package on Debian 10 using different package management tools: apt, apt-get and aptitude.