hsc command not found

In this troubleshooting guide we learn how to fix hsc command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

hsc: command not found

or when using sudo you get the following error message

sudo: hsc: command not found

Solutions to hsc: command not found

How To Fix hsc: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu hsc is provided by hsc package.

hsc is:

It can be used on any HTML file and creates a new HTML file as output. In the input file, you may use an extended syntax based on HTML, which allows for things like macros, conditionals, variables, expressions etc.

It is mainly intended for creating and maintaining larger HTML projects. As a commandline tool, it can be used together with `make’, and a dependency generator is included.

Hsc is not a tool to make HTML easier for beginners; it’s a tool to make HTML a bit less painful and brain-damaged for people who already know how to work with it.

To fix this problem, we can install more using the command below.

sudo apt-get -y install hsc

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install hsc.

sudo apt -y install hsc

Or if you have aptitude installed you can use the following command.

sudo aptitude install hsc

Summary

In this tutorial we learn how to fix hsc command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.