sort head after versions, keep other names before, fix #2881
add support for PCLinuxOS, update #2808
move Synology detection to the end as it uses grep on commonly existing file
try to install sudo on redhat like systems, update #2808
show all missing stuff and then fail, update #2808
add check for java.home while installing jruby, fix #2778