How To Install offlineimap on Fedora 36

In this tutorial we learn how to install offlineimap in Fedora 36. offlineimap is Powerful IMAP/Maildir synchronization and reader support

Introduction

In this tutorial we learn how to install offlineimap on Fedora 36.

What is offlineimap

OfflineIMAP is a tool to simplify your e-mail reading. With OfflineIMAP, you can read the same mailbox from multiple computers. You get a current copy of your messages on each computer, and changes you make one place will be visible on all other systems. For instance, you can delete a message on your home computer, and it will appear deleted on your work computer as well. OfflineIMAP is also useful if you want to use a mail reader that does not have IMAP support, has poor IMAP support, or does not provide disconnected operation.

We can use yum or dnf to install offlineimap on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install offlineimap.

Install offlineimap on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install offlineimap using dnf by running the following command:

sudo dnf -y install offlineimap

Install offlineimap on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install offlineimap using yum by running the following command:

sudo yum -y install offlineimap

How To Uninstall offlineimap on Fedora 36

To uninstall only the offlineimap package we can use the following command:

sudo dnf remove offlineimap

offlineimap Package Contents on Fedora 36

/usr/bin/offlineimap
/usr/lib/python3.10/site-packages/offlineimap
/usr/lib/python3.10/site-packages/offlineimap-8.0.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/offlineimap/CustomConfig.py
/usr/lib/python3.10/site-packages/offlineimap/__init__.py
/usr/lib/python3.10/site-packages/offlineimap/__pycache__
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/CustomConfig.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/CustomConfig.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/accounts.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/accounts.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/error.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/error.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/globals.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/globals.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/imaplib2.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/imaplib2.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/imaplibutil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/imaplibutil.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/imapserver.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/imapserver.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/imaputil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/imaputil.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/init.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/init.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/localeval.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/localeval.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/mbnames.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/mbnames.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/threadutil.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/__pycache__/threadutil.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/accounts.py
/usr/lib/python3.10/site-packages/offlineimap/error.py
/usr/lib/python3.10/site-packages/offlineimap/folder
/usr/lib/python3.10/site-packages/offlineimap/folder/Base.py
/usr/lib/python3.10/site-packages/offlineimap/folder/Gmail.py
/usr/lib/python3.10/site-packages/offlineimap/folder/GmailMaildir.py
/usr/lib/python3.10/site-packages/offlineimap/folder/IMAP.py
/usr/lib/python3.10/site-packages/offlineimap/folder/LocalStatus.py
/usr/lib/python3.10/site-packages/offlineimap/folder/LocalStatusSQLite.py
/usr/lib/python3.10/site-packages/offlineimap/folder/Maildir.py
/usr/lib/python3.10/site-packages/offlineimap/folder/UIDMaps.py
/usr/lib/python3.10/site-packages/offlineimap/folder/__init__.py
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/Base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/Base.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/Gmail.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/Gmail.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/GmailMaildir.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/GmailMaildir.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/IMAP.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/IMAP.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/LocalStatus.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/LocalStatus.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/LocalStatusSQLite.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/LocalStatusSQLite.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/Maildir.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/Maildir.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/UIDMaps.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/UIDMaps.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/folder/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/globals.py
/usr/lib/python3.10/site-packages/offlineimap/imaplib2.py
/usr/lib/python3.10/site-packages/offlineimap/imaplibutil.py
/usr/lib/python3.10/site-packages/offlineimap/imapserver.py
/usr/lib/python3.10/site-packages/offlineimap/imaputil.py
/usr/lib/python3.10/site-packages/offlineimap/init.py
/usr/lib/python3.10/site-packages/offlineimap/localeval.py
/usr/lib/python3.10/site-packages/offlineimap/mbnames.py
/usr/lib/python3.10/site-packages/offlineimap/repository
/usr/lib/python3.10/site-packages/offlineimap/repository/Base.py
/usr/lib/python3.10/site-packages/offlineimap/repository/Gmail.py
/usr/lib/python3.10/site-packages/offlineimap/repository/GmailMaildir.py
/usr/lib/python3.10/site-packages/offlineimap/repository/IMAP.py
/usr/lib/python3.10/site-packages/offlineimap/repository/LocalStatus.py
/usr/lib/python3.10/site-packages/offlineimap/repository/Maildir.py
/usr/lib/python3.10/site-packages/offlineimap/repository/__init__.py
/usr/lib/python3.10/site-packages/offlineimap/repository/__pycache__
/usr/lib/python3.10/site-packages/offlineimap/repository/__pycache__/Base.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/repository/__pycache__/Base.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/repository/__pycache__/Gmail.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/repository/__pycache__/Gmail.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/repository/__pycache__/GmailMaildir.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/repository/__pycache__/GmailMaildir.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/repository/__pycache__/IMAP.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/repository/__pycache__/IMAP.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/repository/__pycache__/LocalStatus.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/repository/__pycache__/LocalStatus.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/repository/__pycache__/Maildir.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/repository/__pycache__/Maildir.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/repository/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/repository/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/threadutil.py
/usr/lib/python3.10/site-packages/offlineimap/ui
/usr/lib/python3.10/site-packages/offlineimap/ui/Curses.py
/usr/lib/python3.10/site-packages/offlineimap/ui/Machine.py
/usr/lib/python3.10/site-packages/offlineimap/ui/Noninteractive.py
/usr/lib/python3.10/site-packages/offlineimap/ui/TTY.py
/usr/lib/python3.10/site-packages/offlineimap/ui/UIBase.py
/usr/lib/python3.10/site-packages/offlineimap/ui/__init__.py
/usr/lib/python3.10/site-packages/offlineimap/ui/__pycache__
/usr/lib/python3.10/site-packages/offlineimap/ui/__pycache__/Curses.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/ui/__pycache__/Curses.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/ui/__pycache__/Machine.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/ui/__pycache__/Machine.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/ui/__pycache__/Noninteractive.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/ui/__pycache__/Noninteractive.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/ui/__pycache__/TTY.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/ui/__pycache__/TTY.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/ui/__pycache__/UIBase.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/ui/__pycache__/UIBase.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/ui/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/ui/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/ui/__pycache__/debuglock.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/ui/__pycache__/debuglock.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/ui/debuglock.py
/usr/lib/python3.10/site-packages/offlineimap/utils
/usr/lib/python3.10/site-packages/offlineimap/utils/__init__.py
/usr/lib/python3.10/site-packages/offlineimap/utils/__pycache__
/usr/lib/python3.10/site-packages/offlineimap/utils/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/utils/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/utils/__pycache__/const.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/utils/__pycache__/const.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/utils/__pycache__/distro_utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/utils/__pycache__/distro_utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/utils/__pycache__/stacktrace.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/offlineimap/utils/__pycache__/stacktrace.cpython-310.pyc
/usr/lib/python3.10/site-packages/offlineimap/utils/const.py
/usr/lib/python3.10/site-packages/offlineimap/utils/distro_utils.py
/usr/lib/python3.10/site-packages/offlineimap/utils/stacktrace.py
/usr/share/doc/offlineimap
/usr/share/doc/offlineimap/API.html
/usr/share/doc/offlineimap/dco.html
/usr/share/doc/offlineimap/genindex.html
/usr/share/doc/offlineimap/index.html
/usr/share/doc/offlineimap/offlineimap.conf
/usr/share/doc/offlineimap/offlineimap.conf.minimal
/usr/share/doc/offlineimap/py-modindex.html
/usr/share/doc/offlineimap/repository.html
/usr/share/doc/offlineimap/search.html
/usr/share/doc/offlineimap/ui.html
/usr/share/licenses/offlineimap
/usr/share/licenses/offlineimap/COPYING
/usr/share/man/man1/offlineimap.1.gz
/usr/share/man/man7/offlineimapui.7.gz

References

Summary

In this tutorial we learn how to install offlineimap on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).