On a newly installed machine, those directories should be relatively empty, and it's a pretty safe place to install your own programs without creating any conflicts with the base system.
/tmp/ was erased upon boot, so stuff put there shoudn't need to stick around.