mbsync command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mbsync: command not found
or when using sudo you get the following error message
sudo: mbsync: command not found
Solutions to mbsync: command not found
How To Fix mbsync: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mbsync is provided by isync package.
isync is:
mbsync/isync is a command line application which synchronizes mailboxes; currently Maildir and IMAP4 mailboxes are supported. New messages, message deletions and flag changes can be propagated both ways. isync is suitable for use in IMAP-disconnected mode.
Features:
- Fine-grained selection of synchronization operations to perform
- Synchronizes single mailboxes or entire mailbox collections
- Partial mirrors possible: keep only the latest messages locally
- Trash functionality: backup messages before removing them IMAP features:
- Security: supports TLS/SSL via imaps: (port 993) and STARTTLS; CRAM-MD5 for authentication
- Supports NAMESPACE for simplified configuration
- Pipelining for maximum speed (currently only partially implemented)
To fix this problem, we can install more using the command below.
sudo apt-get -y install isync
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install isync.
sudo apt -y install isync
Or if you have aptitude installed you can use the following command.
sudo aptitude install isync
Summary
In this tutorial we learn how to fix mbsync command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.