How To Install gnuserv on Kali Linux
Introduction
In this tutorial we learn how to install gnuserv on Kali Linux.
What is gnuserv
gnuserv is:
gnuserv allows you to attach to an already running Emacs. This allows external programs to make use of Emacs’ editing capabilities. It is similar to GNU Emacs’ emacsclient, but has a slightly different feature set.
You do not need this package if you use XEmacs; it already includes gnuserv and gnuclient. If you want to use gnuserv with both GNU Emacs and XEmacs, you will only be able to use the alternative /usr/bin/gnuclient with one flavor of emacs; you will have to use either gnuclient.xemacs or gnuclient.emacs for the other flavor.
There are three methods to install gnuserv 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 gnuserv Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install gnuserv using apt-get by running the following command:
sudo apt-get -y install gnuservInstall gnuserv Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install gnuserv using apt by running the following command:
sudo apt -y install gnuservInstall gnuserv 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 gnuserv using aptitude by running the following command:
sudo aptitude -y install gnuservHow To Uninstall gnuserv on Kali Linux
To uninstall only the gnuserv package we can use the following command:
sudo apt-get remove gnuservUninstall gnuserv And Its Dependencies
To uninstall gnuserv and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove gnuservRemove gnuserv Configurations and Data
To remove gnuserv configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge gnuservRemove gnuserv configuration, data, and all of its dependencies
We can use the following command to remove gnuserv configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gnuservDependencies
gnuserv have the following dependencies:
References
Summary
In this tutorial we learn how to install gnuserv package on Kali Linux using different package management tools: apt, apt-get and aptitude.