psl-make-dafsa command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
psl-make-dafsa: command not found
or when using sudo you get the following error message
sudo: psl-make-dafsa: command not found
Solutions to psl-make-dafsa: command not found
How To Fix psl-make-dafsa: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu psl-make-dafsa is provided by psl-make-dafsa package.
psl-make-dafsa is:
libpsl permits the use of an optimized binary representation of the Public Suffix List (PSL). This format is a deterministic acyclic finite state automaton, or DAFSA.
It is primarily used for building a new version of the publicsuffix package, but could also be used by anyone else looking to match printable US ASCII strings.
This package contains a Python script to convert a standard PSL into a DAFSA, either in C source code form, or in a specialized mmap-able binary format.
To fix this problem, we can install more using the command below.
sudo apt-get -y install psl-make-dafsa
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install psl-make-dafsa.
sudo apt -y install psl-make-dafsa
Or if you have aptitude installed you can use the following command.
sudo aptitude install psl-make-dafsa
Summary
In this tutorial we learn how to fix psl-make-dafsa command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.