Please see the Installation section in the Tor Browser Manual.