pgn2web command not found

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

Introduction

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

pgn2web: command not found

or when using sudo you get the following error message

sudo: pgn2web: command not found

Solutions to pgn2web: command not found

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

In Ubuntu pgn2web is provided by pgn2web package.

pgn2web is:

conversion tool to generate webpages from chess “portable game notation” PGN files. The webpages allow the replaying of chess games within a web browser. It has a commandline client and a gtk graphical user interface for convenience. The html output is highly customisable, it is using javascript and the webpages are standards compliant and working with all major browsers.

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

sudo apt-get -y install pgn2web

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

You can also use apt command to install pgn2web.

sudo apt -y install pgn2web

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

sudo aptitude install pgn2web

Summary

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