sgf2dg command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sgf2dg: command not found
or when using sudo you get the following error message
sudo: sgf2dg: command not found
Solutions to sgf2dg: command not found
How To Fix sgf2dg: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sgf2dg is provided by sgf2dg package.
sgf2dg is:
Go is a board game from Eastern Asia and TeX is a program for typesetting. sgf2dg converts Go game records in smart-go format (SGF) into TeX files. You can produce camera-ready copies for books or magazines, or simply generate attractive printouts of your (internet) Go games.
sgf2dg includes the Metafont sources for a new set of Go fonts, and a script, sgf2dg (formerly sgf2tex), which translates files in sgf-format into TeX.
To fix this problem, we can install more using the command below.
sudo apt-get -y install sgf2dg
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install sgf2dg.
sudo apt -y install sgf2dg
Or if you have aptitude installed you can use the following command.
sudo aptitude install sgf2dg
Summary
In this tutorial we learn how to fix sgf2dg command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.