How To Install elpa-ert-expectations on Kali Linux
Introduction
In this tutorial we learn how to install elpa-ert-expectations
on Kali Linux.
What is elpa-ert-expectations
elpa-ert-expectations is:
The package provides a very simple unit test framework using
ert'. It is thought to be a successor of el-expectations. With Emacs Lisp Mock,
el-mock.el’, Emacs Lisp Expectations supports mock and stub (behavior-based testing). The package uses `ert’ feature to display test result, so it is quite easy to understand why a test failed.
There are three methods to install elpa-ert-expectations
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-ert-expectations 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-ert-expectations
using apt-get
by running the following command:
sudo apt-get -y install elpa-ert-expectations
Install elpa-ert-expectations Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install elpa-ert-expectations
using apt
by running the following command:
sudo apt -y install elpa-ert-expectations
Install elpa-ert-expectations 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-ert-expectations
using aptitude
by running the following command:
sudo aptitude -y install elpa-ert-expectations
How To Uninstall elpa-ert-expectations on Kali Linux
To uninstall only the elpa-ert-expectations
package we can use the following command:
sudo apt-get remove elpa-ert-expectations
Uninstall elpa-ert-expectations And Its Dependencies
To uninstall elpa-ert-expectations
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove elpa-ert-expectations
Remove elpa-ert-expectations Configurations and Data
To remove elpa-ert-expectations
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge elpa-ert-expectations
Remove elpa-ert-expectations configuration, data, and all of its dependencies
We can use the following command to remove elpa-ert-expectations
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-ert-expectations
Dependencies
elpa-ert-expectations have the following dependencies:
References
Summary
In this tutorial we learn how to install elpa-ert-expectations
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.