checked working on centos64, precise and trusty