How To Install urlwatch on Fedora 34

urlwatch is A tool for monitoring webpages for updates

Introduction

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

What is urlwatch

This script is intended to help you watch URLs and get notified (via email or in your terminal) of any changes. The change notification will include the URL that has changed and a unified diff of what has changed. The script supports the use of a filtering hook function to strip trivially-varying elements of a webpage. Basic features * Simple configuration (text file, one URL per line) * Easily hackable (clean Python implementation) * Can run as a cronjob and mail changes to you * Always outputs only plaintext - no HTML mails * Supports removing noise (always-changing website parts) * Example hooks to filter content in Python

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

Install urlwatch 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 urlwatch using dnf by running the following command:

sudo dnf -y install urlwatch

Install urlwatch 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 urlwatch using yum by running the following command:

sudo yum -y install urlwatch

How To Uninstall urlwatch on Fedora 34

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

sudo dnf remove urlwatch

urlwatch Package Contents on Fedora 34

/usr/bin/urlwatch
/usr/lib/python3.9/site-packages/urlwatch
/usr/lib/python3.9/site-packages/urlwatch-2.21-py3.9.egg-info
/usr/lib/python3.9/site-packages/urlwatch-2.21-py3.9.egg-info/PKG-INFO
/usr/lib/python3.9/site-packages/urlwatch-2.21-py3.9.egg-info/SOURCES.txt
/usr/lib/python3.9/site-packages/urlwatch-2.21-py3.9.egg-info/dependency_links.txt
/usr/lib/python3.9/site-packages/urlwatch-2.21-py3.9.egg-info/entry_points.txt
/usr/lib/python3.9/site-packages/urlwatch-2.21-py3.9.egg-info/requires.txt
/usr/lib/python3.9/site-packages/urlwatch-2.21-py3.9.egg-info/top_level.txt
/usr/lib/python3.9/site-packages/urlwatch/__init__.py
/usr/lib/python3.9/site-packages/urlwatch/__pycache__
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/__init__.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/__init__.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/browser.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/browser.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/cli.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/cli.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/command.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/command.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/config.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/config.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/filters.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/filters.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/handler.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/handler.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/html2txt.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/html2txt.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/ical2txt.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/ical2txt.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/jobs.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/jobs.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/mailer.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/mailer.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/main.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/main.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/migration.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/migration.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/reporters.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/reporters.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/storage.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/storage.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/util.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/util.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/worker.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/worker.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/xmpp.cpython-39.opt-1.pyc
/usr/lib/python3.9/site-packages/urlwatch/__pycache__/xmpp.cpython-39.pyc
/usr/lib/python3.9/site-packages/urlwatch/browser.py
/usr/lib/python3.9/site-packages/urlwatch/cli.py
/usr/lib/python3.9/site-packages/urlwatch/command.py
/usr/lib/python3.9/site-packages/urlwatch/config.py
/usr/lib/python3.9/site-packages/urlwatch/filters.py
/usr/lib/python3.9/site-packages/urlwatch/handler.py
/usr/lib/python3.9/site-packages/urlwatch/html2txt.py
/usr/lib/python3.9/site-packages/urlwatch/ical2txt.py
/usr/lib/python3.9/site-packages/urlwatch/jobs.py
/usr/lib/python3.9/site-packages/urlwatch/mailer.py
/usr/lib/python3.9/site-packages/urlwatch/main.py
/usr/lib/python3.9/site-packages/urlwatch/migration.py
/usr/lib/python3.9/site-packages/urlwatch/reporters.py
/usr/lib/python3.9/site-packages/urlwatch/storage.py
/usr/lib/python3.9/site-packages/urlwatch/util.py
/usr/lib/python3.9/site-packages/urlwatch/worker.py
/usr/lib/python3.9/site-packages/urlwatch/xmpp.py
/usr/share/doc/urlwatch
/usr/share/doc/urlwatch/CHANGELOG.md
/usr/share/doc/urlwatch/README.md
/usr/share/licenses/urlwatch
/usr/share/licenses/urlwatch/COPYING
/usr/share/man/man1/urlwatch.1.gz
/usr/share/urlwatch/examples
/usr/share/urlwatch/examples/hooks.py.example
/usr/share/urlwatch/examples/urls.yaml.example

References

Summary

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