vnccapture command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
vnccapture: command not found
or when using sudo you get the following error message
sudo: vnccapture: command not found
Solutions to vnccapture: command not found
How To Fix vnccapture: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu vnccapture is provided by libnet-vnc-perl package.
libnet-vnc-perl is:
Virtual Network Computing (VNC) is a desktop sharing system which uses the RFB (Remote FrameBuffer) protocol to remotely control another computer. Net::VNC acts as a VNC client and communicates to a VNC server using the RFB protocol, allowing you to capture the screen of the remote computer.
This module dies upon connection errors (with a timeout of 15 seconds) and protocol errors.
This implementation is based largely on the RFB Protocol Specification, http://www.realvnc.com/docs/rfbproto.pdf. That document has an error in the DES encryption description, which is clarified via http://www.vidarholen.net/contents/junk/vnc.html.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libnet-vnc-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libnet-vnc-perl.
sudo apt -y install libnet-vnc-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libnet-vnc-perl
Summary
In this tutorial we learn how to fix vnccapture command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.