Again, you have not said what problem you are trying to solve.
(If the problem is “I want to install Tor”, then I apologise.
But it could be that you think that that is a solution to some other problem that you
have not clearly stated.)
If you want to use Tor, then the normal way in Qubes is to use
Whonix, which is preconfigured on your Qubes system.
You would normally use the Whonix-workstation (also available as a
disposable), but you could make any qube use Tor by setting the netvm to
Whonix-gateway.
If you want to run a web browser through Tor, then install the
TorBrowserBundle in to any qube.
If you want to run a Tor node then you may indeed want to install Tor in
to the template, and start the service in each target qube.
You will find instructions for installing Tor at torproject.org.
So, what do you want to do?