installsieve command not found

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

Introduction

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

installsieve: command not found

or when using sudo you get the following error message

sudo: installsieve: command not found

Solutions to installsieve: command not found

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

In Ubuntu installsieve is provided by cyrus-admin package.

cyrus-admin is:

This package provides the administrative tools for the Cyrus IMAPd suite. It contains the cyradm tool which can be used to administer both local and remote Cyrus mail systems. It also contains sieveshell and its deprecated cousin installsieve, which can be used to manage sieve scripts.

For more information, please see the cyrus-common package.

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

sudo apt-get -y install cyrus-admin

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

You can also use apt command to install cyrus-admin.

sudo apt -y install cyrus-admin

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

sudo aptitude install cyrus-admin

Summary

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