With the default
source.list for Debian buster (current stable as of October 2020), only GDAL 2.4 is available. Any solution recommending adding the unstable source in this won't work as you'd have to upgrade to Debian unstable.
EDIT: conda is a solution but doesn't work for me. This isn't the best solution because someone might not want to use a conda-based environment.