htmlcopy command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
htmlcopy: command not found
or when using sudo you get the following error message
sudo: htmlcopy: command not found
Solutions to htmlcopy: command not found
How To Fix htmlcopy: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu htmlcopy is provided by libhtml-copy-perl package.
libhtml-copy-perl is:
HTML::Copy copies a HTML file without breaking links in the file and is a sub class of HTML::Parser.
This package provide the Perl module “HTML::Copy” and a command line tool “htmlcopy”.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libhtml-copy-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libhtml-copy-perl.
sudo apt -y install libhtml-copy-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libhtml-copy-perl
Summary
In this tutorial we learn how to fix htmlcopy command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.