How To Install emma on Ubuntu 18.04
Introduction
In this tutorial we learn how to install emma on Ubuntu 18.04.
What is emma
emma is:
emma is a graphical toolkit for MySQL database developers and administrators, it is the successor of yamysqlfront.
Its main features are:
- Dialogs to create/modify MySQL databases, tables and associated indexes
- Result sets grouped in tabs
- SQL editor:
- Tabs
- Built-in syntax highlighting
- Table and field name tab-completion
- Automatic SQL statement formatting
- Export to CSV files
- Multiple simultaneously opened MySQL connections
There are three methods to install emma 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 emma Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install emma using apt-get by running the following command:
sudo apt-get -y install emma
Install emma Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install emma using apt by running the following command:
sudo apt -y install emma
Install emma 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 emma using aptitude by running the following command:
sudo aptitude -y install emma
How To Uninstall emma on Ubuntu 18.04
To uninstall only the emma package we can use the following command:
sudo apt-get remove emma
Uninstall emma And Its Dependencies
To uninstall emma and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove emma
Remove emma Configurations and Data
To remove emma configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge emma
Remove emma configuration, data, and all of its dependencies
We can use the following command to remove emma configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge emma
References
Summary
In this tutorial we learn how to install emma package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.