pyspf-type99 command not found

In this troubleshooting guide we learn how to fix pyspf-type99 command not found error message

Introduction

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

pyspf-type99: command not found

or when using sudo you get the following error message

sudo: pyspf-type99: command not found

Solutions to pyspf-type99: command not found

How To Fix pyspf-type99: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pyspf-type99 is provided by spf-tools-python package.

spf-tools-python is:

SPF (Sender Policy Framework) related scripts and tools in Python. This package currently provides three scripts:

  • pyspf: command line use of spf.py
  • spfquery: Python implementation of spfquery (uses alternatives)
  • pyspf-type99: Tool to convert SPF records of type TXT to type SPF

spfquery and pyspf-type99 are compatible with python3 For more information about SPF look at http://www.openspf.org/

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

sudo apt-get -y install spf-tools-python

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

You can also use apt command to install spf-tools-python.

sudo apt -y install spf-tools-python

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

sudo aptitude install spf-tools-python

Summary

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