how to use regime with Ubuntu