add ubuntu support; add fix when thrum install