nanoc command not found

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

Introduction

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

nanoc: command not found

or when using sudo you get the following error message

sudo: nanoc: command not found

Solutions to nanoc: command not found

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

In Ubuntu nanoc is provided by nanoc package.

nanoc is:

Nanoc is a static site generator, fit for building anything from a small personal blog to a large corporate web site. It can transform content from one format (e.g. Haml or Markdown) into another (usually HTML) and lay out pages so that the site’s look and feel is consistent across all pages.

Extending Nanoc is easy because of its modular architecture. It comes with only a couple of extensions, but allows new functionality to be plugged in quickly and easily.

Some knowledge of the Ruby programming language is required in order to use Nanoc.

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

sudo apt-get -y install nanoc

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

You can also use apt command to install nanoc.

sudo apt -y install nanoc

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

sudo aptitude install nanoc

Summary

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