[3.9] Add sudo when installing global package