I would like to download and install (compile) gnu tree on linux machine with no root access, but Googling GNU tree doesn't even give me a page where to download it to. Anyone?
Here is the official website and the latest sources: http://mama.indstate.edu/users/ice/tree/
Rather than compiling tree you may want to have a look at this one-liner in shellscript:
ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'
Not as clean as tree but good enough for the majority of cases !
For another implementation of tree in bash the guy made a good script here: http://mama.indstate.edu/users/ice/bash/btree