Yes, but if you’re not running either the most recent version of a Debian-based OS, you either have to hope there’s a version in the backports repo or potentially break your installation through a diet-upgrade.
Getting the version from the vendor can be more ideal, since there’s no dependency on one party to keep another party’s software up to date, especially where distribution versions are concerned.
Getting the version from the vendor can be more ideal, since there’s no dependency on one party to keep another party’s software up to date, especially where distribution versions are concerned.