sdgen command not found

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

Introduction

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

sdgen: command not found

or when using sudo you get the following error message

sudo: sdgen: command not found

Solutions to sdgen: command not found

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

In Ubuntu sdgen is provided by python3-stardicter package.

python3-stardicter is:

Set of python modules and command line utility to convert several dictionaries to the StarDict format.

Currently it can convert following dictionaries:

  • GNU/FDL Anglicko-Český slovník
  • GNU/FDL Německo-Český slovník
  • Slovník cizích slov
  • dicts.info dictionaries

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

sudo apt-get -y install python3-stardicter

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

You can also use apt command to install python3-stardicter.

sudo apt -y install python3-stardicter

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

sudo aptitude install python3-stardicter

Summary

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