remove dependency and adapt for openeuler
