How To Install medit on Ubuntu 18.04
Introduction
In this tutorial we learn how to install medit
on Ubuntu 18.04.
What is medit
medit is:
Features:
- Configurable syntax highlighting.
- Configurable keyboard accelerators.
- Multiplatform - works both on unix and windows.
- Plugins: can be written in C or Python.
- Configurable tools available from the main and context menus. They can be written in Python, or it can be a shell script, or in MooScript - simple builtin scripting lanugage.
- Regular expression search/replace, grep and find frontends, builtin file selector and whatnot.
There are three methods to install medit
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 medit Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install medit
using apt-get
by running the following command:
sudo apt-get -y install medit
Install medit Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install medit
using apt
by running the following command:
sudo apt -y install medit
Install medit 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 medit
using aptitude
by running the following command:
sudo aptitude -y install medit
How To Uninstall medit on Ubuntu 18.04
To uninstall only the medit
package we can use the following command:
sudo apt-get remove medit
Uninstall medit And Its Dependencies
To uninstall medit
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove medit
Remove medit Configurations and Data
To remove medit
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge medit
Remove medit configuration, data, and all of its dependencies
We can use the following command to remove medit
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge medit
References
Summary
In this tutorial we learn how to install medit
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.