Open In App

How to Install Imapclient in Python on Linux?

Last Updated : 18 Mar, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

IMAPClient is a Python-based, easy-to-use, and comprehensive IMAP client library. Although IMAPClient makes use of the imaplib module from the Python standard library, it has its own API. IMAPClient officially supports Python versions 2.7 and 3.4 through 3.9. So, in this article, we’ll learn how to install the IMAPClient Python package on a Linux machine. 

Installing Imapclient package on Linux using PIP

Requirements:

To install the Imapclient package in Linux we have to follow the following steps:

Step 1: Install the latest version of Python3 on Linux Machine using the following command in the terminal:

sudo apt-get install python3

Step 2: Now, using the below command we will install the pip module which is required to install and manage all the packages of Python3 and above versions:

sudo apt install python3-pip

Step 3: Using the following command we install the Imapclient package:

sudo pip3 install IMAPClient

Verifying Imapclient package installation on Linux using PIP

To verify if the Imapclient package has been successfully installed in your system run the below command in Terminal:

python3 -m pip show IMAPClient

You’ll get the following output if the installation is completed successfully in your system.


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads