Problem
The standard method of installing HARK is adding the HARK repository using the HARK installation instructions, and running
sudo apt install hark-base harkmw hark-core sudo apt install hark-designer sudo apt install harktool5 harktool5-gui sudo apt install kaldidecoder-hark
This recipe should be used if the above procedure does not work.
Solution
To install HARK to an unsupported OS, it must be compiled from its source. See the section on Installation from Source Compilation in HARK installation instructions, then download the source, compile, and install.
If installation fails, the remaining HARK files such as its library, will remain in the old version. Uninstall all HARK-related software, then reinstall.
If compiling from the source, execute the following command to delete it.
make uninstall # remove copied files make clean # remove compiled files make distclean # remove Makefile
To check if the old HARK has been properly deleted, execute batchflow in a command line. If successfully deleted, the error, “The command is not found”, will be displayed. Execute ls /usr/local/lib/python3.5/dist-packages/ and confirm that the harkmw-3.0.0-py3.5-linux-x86_64.egg directory has been deleted. If it is still there, delete it. Because python version(3.5) and HARK version(3.0.0) may vary depending on your environment, replace as appropriate.
Discussion
Major problems with installation may be caused by
Software mismatches (Dependency problem)
Differences in installation path.
This recipe introduces a method to confirm installation from the beginning. However, it is important to read the error message well before everything else. It is no exaggeration to say that half of all problems can be solved if the user understands the error messages.
See Also
When the installation has been completed successfully, read c:LearningHARK]Learning HARK