How To Install elpa-systemd on Kali Linux
Introduction
In this tutorial we learn how to install elpa-systemd on Kali Linux.
What is elpa-systemd
elpa-systemd is:
This package provides an Emacs major mode for editing systemd units.
It is similar to `conf-mode’ but with enhanced highlighting; e.g. for specifiers and booleans. It employs strict regex for whitespace. Features a facility for browsing documentation: use C-c C-o to open links to documentation in a unit (cf. systemctl help).
It supports completion of directives and sections in either units or
network configuration. Both a completer for
completion-at-point-functions' and a company backend are provided. The latter can be enabled by adding company-mode’ to
`systemd-mode-hook'.
There are three methods to install elpa-systemd 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-systemd Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install elpa-systemd using apt-get by running the following command:
sudo apt-get -y install elpa-systemdInstall elpa-systemd Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install elpa-systemd using apt by running the following command:
sudo apt -y install elpa-systemdInstall elpa-systemd 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 updateAfter updating apt database, We can install elpa-systemd using aptitude by running the following command:
sudo aptitude -y install elpa-systemdHow To Uninstall elpa-systemd on Kali Linux
To uninstall only the elpa-systemd package we can use the following command:
sudo apt-get remove elpa-systemdUninstall elpa-systemd And Its Dependencies
To uninstall elpa-systemd and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove elpa-systemdRemove elpa-systemd Configurations and Data
To remove elpa-systemd configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge elpa-systemdRemove elpa-systemd configuration, data, and all of its dependencies
We can use the following command to remove elpa-systemd configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-systemdDependencies
elpa-systemd have the following dependencies:
References
Summary
In this tutorial we learn how to install elpa-systemd package on Kali Linux using different package management tools: apt, apt-get and aptitude.