gnuserv command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gnuserv: command not found
or when using sudo you get the following error message
sudo: gnuserv: command not found
Solutions to gnuserv: command not found
How To Fix gnuserv: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gnuserv is provided by gnuserv package.
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gnuserv
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gnuserv.
sudo apt -y install gnuserv
Or if you have aptitude installed you can use the following command.
sudo aptitude install gnuserv
Summary
In this tutorial we learn how to fix gnuserv command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.