diff --git a/pdf2htmlEX/test/installAutomaticTestSoftwareDnf b/pdf2htmlEX/test/installAutomaticTestSoftwareDnf
new file mode 100755
index 0000000..f1e87ed
--- /dev/null
+++ b/pdf2htmlEX/test/installAutomaticTestSoftwareDnf
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+set -ev
+
+# This shell script installs all local software required to run the
+# pdf2htmlEX tests
+
+export DEBIAN_FRONTEND=noninteractive
+
+# Start by making sure all required apt packages exist
+#
+sudo dnf -y --setopt=install_weak_deps=False install \
+ wget \
+ diffutils \
+ zip \
+ python3 \
+ python3-pip \
+ xorg-x11-server-Xvfb \
+ firefox
+
+# Now get the geckodriver for firefox (as required by selenium)
+#
+oldPWD=$(pwd)
+cd /tmp
+#
+wget https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz
+#
+tar xvf geckodriver-v0.26.0-linux64.tar.gz
+#
+sudo mv geckodriver /usr/local/bin
+#
+cd $oldPWD
+
+# Now make sure all python packages exist (install into the local user's
+# PyPI archive)
+#
+pip3 install \
+ selenium \
+ Pillow