How To Install eclipse-anyedit on Ubuntu 18.04
Introduction
In this tutorial we learn how to install eclipse-anyedit
on Ubuntu 18.04.
What is eclipse-anyedit
eclipse-anyedit is:
AnyEdit plugin adds several new tools to the context menu of text-based Eclipse editors, to output consoles, to Eclipse main menu and editor toolbar. AnyEdit contributes also Import/Export working sets wizards.
AnyEdit can:
- show the whitespace (tabs vs. spaces) in editors and may use custom project settings for tab <-> spaces auto-convert-on-save feature.
- perform tabs <-> spaces convert on multiple files or entire directories and supports also file exclusion filter for tabs <-> spaces action.
- automatically remove trailing whitespaces and/or perform tabs <-> spaces conversion on a “save” action in all text-based Eclipse editors. It can automatically create a new line at the end of the file if the last line was not terminated by new line.
Also adds additional actions to menus and toolbars:
- “Save All”, “Open File” and “Show whitespace in editor” buttons to the global Eclipse toolbar.
- “Open File”, “Open Type” and “Save to file…” actions to supported output consoles and “Save to file…” toolbar button to the Console view.
- four new context menu actions to “Compare With” and “Replace With” menus in both editors and files.
There are three methods to install eclipse-anyedit
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 eclipse-anyedit Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install eclipse-anyedit
using apt-get
by running the following command:
sudo apt-get -y install eclipse-anyedit
Install eclipse-anyedit Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install eclipse-anyedit
using apt
by running the following command:
sudo apt -y install eclipse-anyedit
Install eclipse-anyedit 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 eclipse-anyedit
using aptitude
by running the following command:
sudo aptitude -y install eclipse-anyedit
How To Uninstall eclipse-anyedit on Ubuntu 18.04
To uninstall only the eclipse-anyedit
package we can use the following command:
sudo apt-get remove eclipse-anyedit
Uninstall eclipse-anyedit And Its Dependencies
To uninstall eclipse-anyedit
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove eclipse-anyedit
Remove eclipse-anyedit Configurations and Data
To remove eclipse-anyedit
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge eclipse-anyedit
Remove eclipse-anyedit configuration, data, and all of its dependencies
We can use the following command to remove eclipse-anyedit
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge eclipse-anyedit
References
Summary
In this tutorial we learn how to install eclipse-anyedit
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.