use ubuntu's alternatives tool if possible