How To Install elpa-smart-mode-line on Kali Linux
Introduction
In this tutorial we learn how to install elpa-smart-mode-line
on Kali Linux.
What is elpa-smart-mode-line
elpa-smart-mode-line is:
Smart Mode Line is a sexy mode-line for Emacs. Its main features are:
- Highlights the most important information
- Intelligently truncates path name and mode names
- Allows right indentation of strings
- Shorthand directory names (e.g. ~/.emacs.d/ is translated to :ED:)
- Hide or highlight minor-modes
- Easy configuration of all colours and variables
- Compatible with other packages that write to the mode-line
If you have a small screen device such as a netbook and have been looking for a way to maximise the vertical real estate available for editing, without losing the consistent location of the clock, then install this addon, run Emacs full-screen, and discover how powerful the mode-line can be. This makes using screens with a 16:9 aspect ratio slightly less painful.
There are three methods to install elpa-smart-mode-line
on Kali Linux. 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-smart-mode-line 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-smart-mode-line
using apt-get
by running the following command:
sudo apt-get -y install elpa-smart-mode-line
Install elpa-smart-mode-line Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install elpa-smart-mode-line
using apt
by running the following command:
sudo apt -y install elpa-smart-mode-line
Install elpa-smart-mode-line Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install elpa-smart-mode-line
using aptitude
by running the following command:
sudo aptitude -y install elpa-smart-mode-line
How To Uninstall elpa-smart-mode-line on Kali Linux
To uninstall only the elpa-smart-mode-line
package we can use the following command:
sudo apt-get remove elpa-smart-mode-line
Uninstall elpa-smart-mode-line And Its Dependencies
To uninstall elpa-smart-mode-line
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove elpa-smart-mode-line
Remove elpa-smart-mode-line Configurations and Data
To remove elpa-smart-mode-line
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge elpa-smart-mode-line
Remove elpa-smart-mode-line configuration, data, and all of its dependencies
We can use the following command to remove elpa-smart-mode-line
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-smart-mode-line
Dependencies
elpa-smart-mode-line have the following dependencies:
References
Summary
In this tutorial we learn how to install elpa-smart-mode-line
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.