first cut, aimed at autoinstall, lsfunction and filecomp