ftpscrub command not found

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

Introduction

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

ftpscrub: command not found

or when using sudo you get the following error message

sudo: ftpscrub: command not found

Solutions to ftpscrub: command not found

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

In Ubuntu ftpscrub is provided by proftpd-core package.

proftpd-core is:

ProFTPD is a powerful modular FTP/SFTP/FTPS server. This File Transfer Protocol daemon supports also hidden directories, virtual hosts, and per-directory “.ftpaccess” files. It uses a single main configuration file, with a syntax similar to Apache.

Because of the advanced design, anonymous-FTP directories can have an arbitrary internal structure (bin, lib, etc, and special files are not needed). Advanced features such as multiple password files and upload/download ratios are also supported.

This package contains the daemon and all main modules used for common configurations. If you need database-centric authentication install the suitable proftpd-mod suggested package.

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

sudo apt-get -y install proftpd-core

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

You can also use apt command to install proftpd-core.

sudo apt -y install proftpd-core

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

sudo aptitude install proftpd-core

Summary

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