I installed the tree command today on Ubuntu 18.04 using:
$ sudo apt update
$ sudo apt install tree
The version that was installed is:
$ tree --version
tree v1.7.0 (c) 1996 - 2014
But I see from here the latest version is 1.8.0
How can I install the latest version of tree? More generally, how can I ensure the latest versions of programs get installed?