1. Update your package lists for upgrades by opening Terminal and running the command: `sudo apt update`.
1. Install Apache2 by running the command: `sudo apt install apache2`.
1. After installing Apache2, enable mod_auth_digest by running the command: `sudo a2enmod auth_digest`.
1. To confirm mod_auth_digest is enabled, restart Apache2 by running the command: `sudo systemctl restart apache2`.
1. You can also verify the `mod_auth_digest` installation by visiting the modules directory of apache (default is `/etc/apache2/mods-enabled/`) and check the existence of ‘auth\_digest.load’. Use the command `ls /etc/apache2/mods-enabled/ | grep auth_digest`to see if the file exists.
1. Lastly, apply changes in the configuration by restarting Apache with the command: `sudo service apache2 restart`.
Ensure all your other programming settings are correct for optimal use of the mod_auth_digest module. If you encounter issues, Apache offers extensive documentation and help files online.