How To Install dovecot-lucene on Ubuntu 20.04
Introduction
In this tutorial we learn how to install dovecot-lucene
on Ubuntu 20.04.
What is dovecot-lucene
dovecot-lucene is:
Dovecot is a mail server whose major goals are security and extreme reliability. It tries very hard to handle all error conditions and verify that all data is valid, making it nearly impossible to crash. It supports mbox/Maildir and its own dbox/mdbox formats, and should also be pretty fast, extensible, and portable.
This package provides Lucene full text search support for Dovecot.
Package: dovecot-lucene Architecture: amd64 Version: 1:2.3.7.2-1ubuntu3 Priority: optional Section: universe/mail Source: dovecot Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Dovecot Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 150 Depends: dovecot-core (= 1:2.3.7.2-1ubuntu3), libc6 (>= 2.14), libclucene-core1v5 (>= 2.3.3.4+dfsg), libexttextcat-2.0-0 (>= 2.2-8), libgcc-s1 (>= 3.0), libstdc++6 (>= 5), libstemmer0d (>= 0+svn527) Filename: pool/universe/d/dovecot/dovecot-lucene_2.3.7.2-1ubuntu3_amd64.deb Size: 31268 MD5sum: 25f512325187d4d5260117f6c78c20eb SHA1: 928587dc739d176aab4bd8963f5413c035efd9da SHA256: 8953bcf3f3d5d312301cfccae6500ab2c3131d9f09550dabe6a56e1e7dd5388c Homepage: http://dovecot.org/ Description-en: secure POP3/IMAP server - Lucene support Dovecot is a mail server whose major goals are security and extreme reliability. It tries very hard to handle all error conditions and verify that all data is valid, making it nearly impossible to crash. It supports mbox/Maildir and its own dbox/mdbox formats, and should also be pretty fast, extensible, and portable.
This package provides Lucene full text search support for Dovecot.
There are three methods to install dovecot-lucene
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install dovecot-lucene Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install dovecot-lucene
using apt-get
by running the following command:
sudo apt-get -y install dovecot-lucene
Install dovecot-lucene Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install dovecot-lucene
using apt
by running the following command:
sudo apt -y install dovecot-lucene
Install dovecot-lucene Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install dovecot-lucene
using aptitude
by running the following command:
sudo aptitude -y install dovecot-lucene
How To Uninstall dovecot-lucene on Ubuntu 20.04
To uninstall only the dovecot-lucene
package we can use the following command:
sudo apt-get remove dovecot-lucene
Uninstall dovecot-lucene And Its Dependencies
To uninstall dovecot-lucene
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove dovecot-lucene
Remove dovecot-lucene Configurations and Data
To remove dovecot-lucene
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge dovecot-lucene
Remove dovecot-lucene configuration, data, and all of its dependencies
We can use the following command to remove dovecot-lucene
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge dovecot-lucene
References
Summary
In this tutorial we learn how to install dovecot-lucene
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.