This tutorial details the steps necessary (and a few optional ones) for installing Pi-hole to your device or virtual machine running either Debian or Ubuntu – these instructions should work fine with either option. At the time this tutorial was last edited, the current version of Debian is 11 and the current version of Ubuntu Server LTS is 22.04, however, at this time, Ubuntu 22.04 is not supported by Pi-hole. If you’d like to use Ubuntu, make sure you use version 20.04 instead. If Ubuntu 22.04 becomes supported this document will be updated, if needed, to reflect necessary changes.
Google, Facebook, Amazon and others do everything they can to track what you read, watch, and do online. A growing number of people online are taking their online privacy a step further by actively reducing the amount of information that is gathered about us by the websites and platforms that we visit. Pi-hole is an essential tool used by those who wish to better protect their online privacy.