cwgen command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cwgen: command not found
or when using sudo you get the following error message
sudo: cwgen: command not found
Solutions to cwgen: command not found
How To Fix cwgen: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cwgen is provided by cw package.
cw is:
The unixcw project provides support for learning to use Morse.
This package provides two executables:
- cw - a simple command line application that converts key-presses to Morse code that can be heard through the console buzzer or a sound card;
- cwgen - a program that generates groups of random characters for Morse code practice, which can be piped to the cw program.
It also includes example files (with the extension “cw”) containing commands which can be used to change properties such as the speed, tone, and spacing of characters.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cw
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cw.
sudo apt -y install cw
Or if you have aptitude installed you can use the following command.
sudo aptitude install cw
Summary
In this tutorial we learn how to fix cwgen command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.