How To Install pyzor on Fedora 34

pyzor is Collaborative spam filtering system

Introduction

In this tutorial we learn how to install pyzor on Fedora 34.

What is pyzor

Pyzor is a collaborative, networked system to detect and block spam using identifying digests of messages. Pyzor is similar to Vipul’s Razor except implemented in python, and using fully open source servers. Pyzor can be used either standalone, or to augment the spam filtering ability of spamassassin. spamassassin is highly recommended.

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

Install pyzor on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install pyzor

Install pyzor on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install pyzor

How To Uninstall pyzor on Fedora 34

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

sudo dnf remove pyzor

pyzor Package Contents on Fedora 34

/etc/pyzor
/usr/bin/pyzor
/usr/bin/pyzor-migrate
/usr/bin/pyzord
/usr/lib/python3.9/site-packages/pyzor
/usr/lib/python3.9/site-packages/pyzor-1.1.1-py3.9.egg-info
/usr/lib/python3.9/site-packages/pyzor-1.1.1-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/pyzor-1.1.1-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/pyzor-1.1.1-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/pyzor-1.1.1-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/pyzor/__init__.py
/usr/lib/python3.9/site-packages/pyzor/__pycache__
/usr/lib/python3.9/site-packages/pyzor/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/__pycache__/account.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/__pycache__/account.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/__pycache__/client.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/__pycache__/client.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/__pycache__/config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/__pycache__/config.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/__pycache__/digest.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/__pycache__/digest.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/__pycache__/forwarder.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/__pycache__/forwarder.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/__pycache__/message.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/__pycache__/message.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/__pycache__/server.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/__pycache__/server.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/account.py
/usr/lib/python3.9/site-packages/pyzor/client.py
/usr/lib/python3.9/site-packages/pyzor/config.py
/usr/lib/python3.9/site-packages/pyzor/digest.py
/usr/lib/python3.9/site-packages/pyzor/engines
/usr/lib/python3.9/site-packages/pyzor/engines/__init__.py
/usr/lib/python3.9/site-packages/pyzor/engines/__pycache__
/usr/lib/python3.9/site-packages/pyzor/engines/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/engines/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/engines/__pycache__/common.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/engines/__pycache__/common.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/engines/__pycache__/gdbm_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/engines/__pycache__/gdbm_.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/engines/__pycache__/mysql.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/engines/__pycache__/mysql.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/engines/__pycache__/redis_.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/engines/__pycache__/redis_.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/engines/__pycache__/redis_v0.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/engines/__pycache__/redis_v0.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/engines/common.py
/usr/lib/python3.9/site-packages/pyzor/engines/gdbm_.py
/usr/lib/python3.9/site-packages/pyzor/engines/mysql.py
/usr/lib/python3.9/site-packages/pyzor/engines/redis_.py
/usr/lib/python3.9/site-packages/pyzor/engines/redis_v0.py
/usr/lib/python3.9/site-packages/pyzor/forwarder.py
/usr/lib/python3.9/site-packages/pyzor/hacks
/usr/lib/python3.9/site-packages/pyzor/hacks/__init__.py
/usr/lib/python3.9/site-packages/pyzor/hacks/__pycache__
/usr/lib/python3.9/site-packages/pyzor/hacks/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/hacks/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/hacks/__pycache__/py26.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/hacks/__pycache__/py26.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/hacks/__pycache__/py3.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/pyzor/hacks/__pycache__/py3.cpython-39.pyc
/usr/lib/python3.9/site-packages/pyzor/hacks/py26.py
/usr/lib/python3.9/site-packages/pyzor/hacks/py3.py
/usr/lib/python3.9/site-packages/pyzor/message.py
/usr/lib/python3.9/site-packages/pyzor/server.py
/usr/share/doc/pyzor
/usr/share/doc/pyzor/README.rst
/usr/share/doc/pyzor/THANKS
/usr/share/doc/pyzor/config
/usr/share/doc/pyzor/config/accounts.sample
/usr/share/doc/pyzor/config/config.sample
/usr/share/doc/pyzor/config/pyzord.access.sample
/usr/share/doc/pyzor/config/pyzord.paswd.sample
/usr/share/doc/pyzor/config/servers.sample
/usr/share/licenses/pyzor
/usr/share/licenses/pyzor/COPYING

References

Summary

In this tutorial we learn how to install pyzor on Fedora 34 using yum and dnf.