How To Install medit on Debian 9
Introduction
In this tutorial we learn how to install medit on Debian 9.
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 Debian 9. 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 Debian. 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 Debian 9
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 Debian 9, we can use the command below:
sudo apt-get -y autoremove medit
Remove medit Configurations and Data
To remove medit configuration and data from Debian 9 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
Dependencies
medit have the following dependencies:
References
Summary
In this tutorial we learn how to install medit package on Debian 9 using different package management tools: apt, apt-get and aptitude.