How To Install elpa-smeargle on Ubuntu 18.04
Introduction
In this tutorial we learn how to install elpa-smeargle
on Ubuntu 18.04.
What is elpa-smeargle
elpa-smeargle is:
smeargle' is an Emacs port of Vim's smeargle.
smeargle’ provides highlighting regions by last update time / age of commits. So it is possible to know which part is changed recently and which part is not changed recently.
It supports Git and Mercurial.
There are three methods to install elpa-smeargle
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 elpa-smeargle Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install elpa-smeargle
using apt-get
by running the following command:
sudo apt-get -y install elpa-smeargle
Install elpa-smeargle Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install elpa-smeargle
using apt
by running the following command:
sudo apt -y install elpa-smeargle
Install elpa-smeargle 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 elpa-smeargle
using aptitude
by running the following command:
sudo aptitude -y install elpa-smeargle
How To Uninstall elpa-smeargle on Ubuntu 18.04
To uninstall only the elpa-smeargle
package we can use the following command:
sudo apt-get remove elpa-smeargle
Uninstall elpa-smeargle And Its Dependencies
To uninstall elpa-smeargle
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove elpa-smeargle
Remove elpa-smeargle Configurations and Data
To remove elpa-smeargle
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge elpa-smeargle
Remove elpa-smeargle configuration, data, and all of its dependencies
We can use the following command to remove elpa-smeargle
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-smeargle
References
Summary
In this tutorial we learn how to install elpa-smeargle
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.