How To Install elpa-visual-regexp on Kali Linux
Introduction
In this tutorial we learn how to install elpa-visual-regexp on Kali Linux.
What is elpa-visual-regexp
elpa-visual-regexp is:
visual-regexp for Emacs is like
replace-regexp, but with live visual feedback directly in the buffer.
While constructing the regexp in the minibuffer, you get live visual feedback for the matches, including group matches. While constructing the replacement in the minibuffer, you get live visual feedback for the replacements.
It can be used to replace all matches in one go (like
replace-regexp), or a decision can be made on each match (like
query-replace-regexp).
There are three methods to install elpa-visual-regexp 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-visual-regexp Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install elpa-visual-regexp using apt-get by running the following command:
sudo apt-get -y install elpa-visual-regexpInstall elpa-visual-regexp Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install elpa-visual-regexp using apt by running the following command:
sudo apt -y install elpa-visual-regexpInstall elpa-visual-regexp 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-visual-regexp using aptitude by running the following command:
sudo aptitude -y install elpa-visual-regexpHow To Uninstall elpa-visual-regexp on Kali Linux
To uninstall only the elpa-visual-regexp package we can use the following command:
sudo apt-get remove elpa-visual-regexpUninstall elpa-visual-regexp And Its Dependencies
To uninstall elpa-visual-regexp and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove elpa-visual-regexpRemove elpa-visual-regexp Configurations and Data
To remove elpa-visual-regexp configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge elpa-visual-regexpRemove elpa-visual-regexp configuration, data, and all of its dependencies
We can use the following command to remove elpa-visual-regexp configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge elpa-visual-regexpDependencies
elpa-visual-regexp have the following dependencies:
References
Summary
In this tutorial we learn how to install elpa-visual-regexp package on Kali Linux using different package management tools: apt, apt-get and aptitude.