How To Install oneliner-el on Kali Linux
Introduction
In this tutorial we learn how to install oneliner-el
on Kali Linux.
What is oneliner-el
oneliner-el is:
oneliner-el provides nice extensions for UNIX shell masters who love one-line scripts. This package has the following functions:
- You can easily connect standard input or output of a command to an Emacs buffer.
- You can sync the current directory of shell-mode and a shell process.
- Oneliner-el can beep when command execution terminates.
- Oneliner-el handles control codes.
There are three methods to install oneliner-el
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 oneliner-el Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install oneliner-el
using apt-get
by running the following command:
sudo apt-get -y install oneliner-el
Install oneliner-el Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install oneliner-el
using apt
by running the following command:
sudo apt -y install oneliner-el
Install oneliner-el 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 oneliner-el
using aptitude
by running the following command:
sudo aptitude -y install oneliner-el
How To Uninstall oneliner-el on Kali Linux
To uninstall only the oneliner-el
package we can use the following command:
sudo apt-get remove oneliner-el
Uninstall oneliner-el And Its Dependencies
To uninstall oneliner-el
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove oneliner-el
Remove oneliner-el Configurations and Data
To remove oneliner-el
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge oneliner-el
Remove oneliner-el configuration, data, and all of its dependencies
We can use the following command to remove oneliner-el
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge oneliner-el
Dependencies
oneliner-el have the following dependencies:
References
Summary
In this tutorial we learn how to install oneliner-el
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.