scbayes command not found

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

Introduction

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

scbayes: command not found

or when using sudo you get the following error message

sudo: scbayes: command not found

Solutions to scbayes: command not found

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

In Ubuntu scbayes is provided by scmail package.

scmail is:

Scmail is a mail filter written in Scheme, you can write processing recipes in S-expression. Scmail can be used as a filter for an incoming mail, invoked each time by .forward, or it can be used as a mail processor to distribute existing mails into the right mailbox. It comes with a bayesian spam filter called scbayes.

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

sudo apt-get -y install scmail

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

You can also use apt command to install scmail.

sudo apt -y install scmail

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

sudo aptitude install scmail

Summary

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