How To Install mmake on Ubuntu 18.04
Introduction
In this tutorial we learn how to install mmake on Ubuntu 18.04.
What is mmake
mmake is:
mmake will generate a master Makefile for your Java programs. This generated Makefile fully understands the subdirectories that are required if your program consists of multiple packages. mmake also automatically generates dependencies, and can use the C preprocessor for Java programs and generate javadoc documentation. mmake defaults to using Sun’s javac from the jdk but can easily use guavac or a different GPL alternative as well.
There are three methods to install mmake on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install mmake Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install mmake using apt-get by running the following command:
sudo apt-get -y install mmake
Install mmake Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install mmake using apt by running the following command:
sudo apt -y install mmake
Install mmake 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 Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install mmake using aptitude by running the following command:
sudo aptitude -y install mmake
How To Uninstall mmake on Ubuntu 18.04
To uninstall only the mmake package we can use the following command:
sudo apt-get remove mmake
Uninstall mmake And Its Dependencies
To uninstall mmake and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove mmake
Remove mmake Configurations and Data
To remove mmake configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge mmake
Remove mmake configuration, data, and all of its dependencies
We can use the following command to remove mmake configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mmake
References
Summary
In this tutorial we learn how to install mmake package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.